oxen-io / session-android

A private messenger for Android.
https://getsession.org
GNU General Public License v3.0
1.86k stars 170 forks source link

[Feature / Request for Comments] Remove known URL trackers when sharing links #1429

Open AndreiRegiani opened 6 months ago

AndreiRegiani commented 6 months ago

Is there an existing request for feature?

What feature would you like?

Many apps add tracking codes to URLs when using the share function. Examples:

twitter.com/foo?t=123abc
facebook.com/foo?fbclid=IwAR0XYZ

I suggest (by default) to automatically remove them on the client-side, in order to protect the privacy of Session users because these codes are used to link their identities exposing both the sender & receiver.

JS library example: https://github.com/inframanufaktur/clean-urls

Anything else?

No response

AndreiRegiani commented 6 months ago

Instead of modifying the original message the best approach I think is when you click a link during the confirmation dialog can be sanitized in-place:

ACTUAL

image

EXPECTED

-> Open (without trackers) -> Open (original URL)