Why href encode parameters in Safari?

217 views Asked by At

I have this issue that started recently on Safari, where my href gets encoded or some sort of changes occurs when navigating to that location.

Didn't happen yesterday or days before. On Chrome works fine.

Sample code here

href="https://website.com/my-next-page.html?url=https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MYPAYPALBUTTONID"

It used to take me to my-next-page.html where I was able to grab the url parameter exactly as I was passed.

Now my destination location.href looks like this

https://website.com/my-next-page.html?url=https://www.paypal.com/cgi-bin/webscr&_gl=1*45ern0q*_ga*YW1wWxWHBTRkkFGJT4TmlHOFE.

Any suggestions why this started to happen?

0

There are 0 answers