Smile4ever / Neat-URL

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

Redirects? #238

Open gmariani opened 4 years ago

gmariani commented 4 years ago

I was using Link Cleaner before but it had a very simple rule system which couldn't be customized. But one feature it seems to have over Neat-URL is that it cleaned up redirect URLs. Does Neat-URL do that or could it?

jomo commented 3 years ago

This could be implemented by specifying a path with a single parameter containing the target URL (e.g. l.facebook.com/l.php?u, out.reddit.com/*?url, steamcommunity.com/linkfilter?url)

erockce commented 2 years ago

Stumbled across your extension recently.

Here's another redirect which caught me off guard. There's a redirect service with Amazon apparently. Here is an example when resetting an Ubisoft account password.

Link from Email:

https://2mcmg31d.r.us-east-1.awstrack.me/L0/https:%2F%2Faccount.ubisoft.com%2Fen-US%2Faction%2Fchange-password%3Flocale=en%26strLogin=<REDACTED>%26strEmail=<REDACTED>%26strStamp=3B606452C6457BC8A1534CF494A2612C40AF717C52A830B55859C26A634927F8C596563D874C8DDEDB75FAD7DF551DCDD12DAC076E9924F024CD1F4A74D366A4%26genomeid=c5393f10-7ac7-4b4f-90fa-21f8f3451a04/1/0100017ea1c23e69-265db1bc-a189-4a0b-8cde-82bf08523f3e-000000/1W4jcaAR32nvw_tuY1FBpNbRbdQ=255

Then some URL-decoding (%2F becomes /, %3F becomes ?, and %26 becomes &).

The following cleaned up URL works:

https://account.ubisoft.com/en-US/action/change-password?locale=en&strLogin=<REDACTED>&strEmail=<REDACTED>&strStamp=3B606452C6457BC8A1534CF494A2612C40AF717C52A830B55859C26A634927F8C596563D874C8DDEDB75FAD7DF551DCDD12DAC076E9924F024CD1F4A74D366A4&genomeid=c5393f10-7ac7-4b4f-90fa-21f8f3451a04/1/0100017ea1c23e69-265db1bc-a189-4a0b-8cde-82bf08523f3e-000000/1W4jcaAR32nvw_tuY1FBpNbRbdQ=255

I haven't yet experimented/researched to see if other parameters could also be trackers with Ubisoft.