Neat-URL icon indicating copy to clipboard operation
Neat-URL copied to clipboard

Redirects?

Open gmariani opened this issue 3 years ago • 2 comments

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?

  • facebook redirect: https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.fsf.org%2Fcampaigns%2F&h=ATP1kf98S0FxqErjoW8VmdSllIp4veuH2_m1jl69sEEeLzUXbkNXrVnzRMp65r5vf21LJGTgJwR2b66m97zYJoXx951n-pr4ruS1osMvT2c9ITsplpPU37RlSqJsSgba&s=1 is changed to https://www.fsf.org/campaigns/

  • reddit redirect: https://out.reddit.com/t3_5pq7qd?url=https%3A%2F%2Finternethealthreport.org%2Fv01%2F&token=AQAAZV6JWHBBnIcVjV1wvxVg5gKyCQQSdUhGIvuEUmdPZhxhm8kH&app_name=reddit.com is changed to: https://internethealthreport.org/v01/

  • steam redirect https://steamcommunity.com/linkfilter/?url=https://getfedora.org/ is changed to: https://getfedora.org/

gmariani avatar Oct 05 '20 13:10 gmariani

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)

jomo avatar Feb 07 '21 02:02 jomo

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.

erockce avatar Jan 28 '22 17:01 erockce