Properly escape username/roles in web interface (#3570) #3588
Motivation and Context
This is the port of #3570 to the
Before this change it was possible to create user/role names containing one or more slashes or other special characters, but it was not possible to delete them afterwards from the web interface.
After this change, the user/role name used to construct the URL to the backend is escaped properly, so deletions suceed even if the user/role name contains one or more special characters.
Types of changes
* Escaping username component to allow usernames with slash. * Allowing to handle deletion/updates of roles with special characters. * Allowing editing/updating/deleting users with special characters in name * Using proper route methods, escaping username in CurrentUserStore. Fixes #3569 (cherry picked from commit 34446c2)