Smile4ever / Neat-URL

Neat URL cleans URLs, removing parameters such as Google Analytics' utm parameters.
Other
631 stars 37 forks source link

Dealing with ampersand (&) in a URL? #300

Open AV-Gaming opened 1 year ago

AV-Gaming commented 1 year ago

Hi guys,

I'm not a github guy (not a Microsoft fan) but made an account here to ask a question:

How to deal with ampersand?

I need to go from this:

https://signin.ebay.com/ws/eBayISAPI.dll?SignIn&ru=https%3A%2F%2Fwww.ebay.com%2F

(where the text after the "SignIn" can and does change)

to this:

https://signin.ebay.com/ws/eBayISAPI.dll

Currently, I used "SignIn*@signin.ebay.com", but it has unintended result:

https://signin.ebay.com/ws/eBayISAPI.dll?ru=https%3A%2F%2Fwww.ebay.com%2F

Looks like it "breaks" and stops when it reaches the ampersand in the URL.

How can I achieve what I need?

Thanks in advance

Yay295 commented 6 months ago

SignIn is one parameter, and ru is a second parameter. What you want is SignIn@signin.ebay.com, ru@signin.ebay.com.