Can't have forward slash (/) under Settings → Notifications → Mention and keywords
See original GitHub issueSteps to reproduce
- Navigate to Settings → Notifications → Mention and keywords
- In the Keyword field, input any text containing a forward slash. (
/) - Select Add
What happened?
A modal appears with the following text.
Error saving notification preferences
An error occurred whilst saving your notification preferences.
And the content of the Notifications setting changes to.
Notifications
There was an error loading your notification settings.

I can just flip to another page, then return to Notifications settings to access the page again. (The keyword does not get added.)
What did you expect?
I would expect the keyword to get added as it would for any other keyword.
If for whatever reason, not that I can think of one, a / cannot be used in a keyword for a logical/technical reason, then I would expect the field to have validation explicitly warning the user. (Or handle it gracefully one way or another.)
Operating system
Ubuntu 20.04
Application version
Element version: 1.8.1 Olm version: 3.2.3
How did you install the app?
apt: element-desktop/unknown,now 1.8.1 amd64 [installed]
Have you submitted a rageshake?
No
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (7 by maintainers)

Top Related StackOverflow Question
Yes, you’re right. Fixed that too.
Closing in favour of https://github.com/vector-im/element-web/issues/18839