hifi / heisenbridge

a bouncer-style Matrix IRC bridge
MIT License
241 stars 32 forks source link

Don't touch my URLs! #239

Closed piegamesde closed 2 years ago

piegamesde commented 2 years ago

Heisenbridge should not do any processing with any tokens that might parse as URI. Currently, try sending an URL containing an @mention, and the '@' will disappear from the posted URL, rendering the link invalid.

hifi commented 2 years ago

Can you give an example where it detects a nickname within an URL? Are you using the latest version?

piegamesde commented 2 years ago

I am running Heisenbridge 1.13.1.

Example: https://example.org/@piegames turns up as https://example.org/piegames

hifi commented 2 years ago

Fixed in master. There was an old fallback for plain text messages which causes more harm than good.

piegamesde commented 2 years ago

Thanks