matrix-org / matrix-appservice-irc

Node.js IRC bridge for Matrix
Apache License 2.0
462 stars 151 forks source link

Wrap URL in angle brackets in truncatedMessageTemplate #1573

Closed progval closed 2 years ago

progval commented 2 years ago

The closing parenthesis can confuse parsers, as this character is allowed in IRI paths

Angle brackets are a common URL/IRI delimiter, which is not allowed in IRIs so they should work much better.

Signed-off-by: Valentin Lorentz \<progval plus matrixsignoff at progval dot net>