-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Security Users UI - error when user name contains % #66412
Comments
Pinging @elastic/kibana-security (Team:Security) |
@thomheymann this one might be fairly straightforward if you wanted to explore a fix. Looks like we need to kibana/x-pack/plugins/security/public/management/users/users_grid/users_grid_page.tsx Line 115 in d661d66
|
Reopening, as we had to revert the fix in order to support |
Will potentially be resolved by upgrading the |
This bug was found when checking this issue #57843.
Currently, the bug can be reproduced on the master branch 66e1d32
Describe the bug:
When a user with % in the name is created, it can not be navigated to/edited.
Steps to reproduce:
test%
and some password.After creating the user, the navigation will return to the users list. Find the user and click on it to navigate to edit view. The navigation will not happen and there are errors in the console.
Expected behavior:
The user can be viewed/edited without errors.
Screenshots (if relevant):
Errors in browser console (if relevant):
angular.js:15570 URIError: URI malformed
at decodeURIComponent ()
at decodePath (angular.js:14403)
at parseAppUrl (angular.js:14442)
at LocationHashbangUrl.$$parse (angular.js:14604)
at angular.js:15331
at Scope.$digest (angular.js:19115)
at angular.js:15350
at angular.js:6711
at forEach (angular.js:387)
at fireStateOrUrlChange (angular.js:6710)
(anonymous) @ angular.js:15570
(anonymous) @ angular.js:11849
$digest @ angular.js:19117
(anonymous) @ angular.js:15350
(anonymous) @ angular.js:6711
forEach @ angular.js:387
fireStateOrUrlChange @ angular.js:6710
cacheStateAndFireUrlChange @ angular.js:6681
dispatch @ jquery.js:5429
elemData.handle @ jquery.js:5233
history.js:87 Uncaught URIError: Pathname "/edit/test%" could not be decoded. This is likely caused by an invalid percent-encoding.
at createLocation (history.js:87)
at getDOMLocation (history.js:548)
at handleHashChange (history.js:571)
createLocation @ history.js:87
getDOMLocation @ history.js:548
handleHashChange @ history.js:571
Any additional context:
The bug is only reproducible with % sign but not other "special" characters.
The text was updated successfully, but these errors were encountered: