script-server icon indicating copy to clipboard operation
script-server copied to clipboard

Bug in the link highlighting

Open anaschaudhary33 opened this issue 4 years ago • 1 comments

In the following url only some initial part of url highlights in the script-server.

Full URL:

https://mkp.gem.gov.in/surgical-gloves/search#/?C1122E[]=surgicalrubberglovesconformingtois4148%281989%29&make[]=vector&make[]=hicare&make[]=medi-glove&C1114E[]=naturalgloveslatexpowderfree&C1114E[]=syntheticrubberlatex&C1121E[]=smooth&C1123E[]=6&_xhr=1

Highlighted part:

https://mkp.gem.gov.in/surgical-gloves/search#/?C1122E

Screenshot_20210922-072121

anaschaudhary33 avatar Sep 22 '21 02:09 anaschaudhary33

Hi, thanks for reporting.

Square brackets are not allowed characters in URL, they should be percent encoded https://newbedev.com/is-array-syntax-using-square-brackets-in-url-query-strings-valid

But since many servers support it, I'll check if I could easily add support in Script server too.

anaschauhan33 @.***> schrieb am Mi., 22. Sept. 2021, 04:01:

In the following url only some initial part of url highlights in the script-server.

Full URL:

https://mkp.gem.gov.in/surgical-gloves/search#/?C1122E[]=surgicalrubberglovesconformingtois4148%281989%29&make[]=vector&make[]=hicare&make[]=medi-glove&C1114E[]=naturalgloveslatexpowderfree&C1114E[]=syntheticrubberlatex&C1121E[]=smooth&C1123E[]=6&_xhr=1

Highlighted part:

https://mkp.gem.gov.in/surgical-gloves/search#/?C1122E

[image: Screenshot_20210922-072121] https://user-images.githubusercontent.com/70742968/134271623-aebacaaf-a19d-4e5c-8c27-aa721191f897.jpg

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bugy/script-server/issues/496, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJXPJNG65O62BGKIRKAJXTUDE2GHANCNFSM5EQFJTBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

bugy avatar Sep 22 '21 07:09 bugy