-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mangled names in highlights #4984
Comments
looks like a state mismatch, could you go into settings scroll to bottom and clear cache and reload |
No, that didn't help. Full source of an example message: {
"origin_server_ts": 1504641691881,
"sender": "@sphalerite:matrix.org",
"event_id": "$15046416911557180tqAdP:matrix.org",
"unsigned": {
"age": 1028,
"transaction_id": "m1504641691682.0"
},
"content": {
"body": "sphalerite[test]: ",
"msgtype": "m.text",
"formatted_body": "<a href=\"https://matrix.to/#/@freenode_sphalerite%5Btest%5D:matrix.org\">sphalerite[test]</a>:",
"format": "org.matrix.custom.html"
},
"type": "m.room.message",
"room_id": "!tckjEObrtDIGmCBjwX:matrix.org"
} |
OK, I found the incident I was seeking. From #4867 (comment) (2017-09-15) affecting Strangely, I have no recollection of the bug biting |
From the closure of Hilarity ensues when clicking on a user whose display name ends in ] · Issue #5474:
|
This has been an issue for more than a year. What is necessary to get riot to stop mangling these? It makes pills a significant regression over historical behavior. Note that the issue is also triggered by \, and does not manifest in the entry box. |
Any hope of a fix in the forseeable future? |
At the moment, this is part of a long backlog of paper cuts, each of which seems important on its own. I'll mark this "help-wanted" to hopefully encourage a PR to be submitted here. |
If this isn't considered a priority, maybe it shouldn't be labeled "major, p1"? It's annoying enough to constantly be hitting this issue, and being led to believe that it's considered important when it's actually very low priority doesn't help. |
Nudging down to p2, as that seems to be closer to current priority in practice. It's still quite a bad issue when you hit it, so major seems appropriate. |
(In general though, the issue priorities should be viewed as a very fuzzy relative ordering. We would like to get to the p1 issues before the p2 issues, etc. There's also lots of room to clean up older issues that may no longer apply, etc. Issue tracking is a best effort system that continually evolves over time.) |
This is still happening, e.g. with backticks. |
Description
When I try to highlight a user with square brackets in their name, the resulting message appears mangled. E.g. when I highlighted
sphalerite[test]
on the IRC Bridges room, it appeared as@freenode_sphalerite%5Btest%5D:matrix.org
:When Mikaela highlighted the same user, it appeared fine:
I noticed that this difference appears in the source of the messages as well: my highlight had
<a href="https://matrix.to/#/@freenode_sphalerite%5Btest%5D:matrix.org">
while Mikaela's had<a href="https://matrix.to/#/@freenode_sphalerite[test]:matrix.org">
.Steps to reproduce
Expected: appears as
sphalerite[test]
Actual: appears as
@freenode_sphalerite%5Btest%5D:matrix.org
Log: Sent
Version information
For the web app:
Also tested on…
The text was updated successfully, but these errors were encountered: