Properly escape username validation error
What does this MR do?
Prevents the double-escaping of the username validation error when attempting to change one's username using an invalid character.
Go to /profile/account and attempt to add an invalid character like @
or #
to your username to trigger this message.
Screenshots (if relevant)
Before:
After:
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes #23813 (closed)