matrix-org / matrix.to

A simple stateless privacy-protecting URL redirecting service for Matrix
http://matrix.to
Apache License 2.0
893 stars 189 forks source link

breaks entirely on MXIDs with / #194

Open bwindels opened 3 years ago

bwindels commented 3 years ago

trying to linkify @/hoc/roman:matrix.org from matrix.to just resets the input field but does nothing else. console is empty

MayeulC commented 3 years ago

I was a bit dubious, but this is allowed by the spec

bwindels commented 2 years ago

we should just url encode the username if we're not already, and also handle those correctly because https://matrix.to/#/%40%2Fhoc%2Froman%3Amatrix.org has exactly the same result.