Smile4ever / firefoxaddons

Extend the functionality of Firefox with cool addons
83 stars 20 forks source link

[Neat URL] Probable bugs when urlDecode whole URL #75

Closed gwarser closed 6 years ago

gwarser commented 7 years ago

Please stop urlDecoding URL at a whole on the beginning of cleaning. This looses information! L460

For example:

Another:

Related https://github.com/Smile4ever/firefoxaddons/issues/73

If this is really needed, do this after splitting by ?, & and =. If you want to support url's like this: example.com?url=example2.com%3Futm%3Dsomething you should probably use recursion ;) URLs like this will be cleaned after redirection to example2.com.