You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: java.lang.IllegalArgumentException: Illegal character in path at index 39: http://localhost:8080/admin-ng/users/L. Kiesow.json
at java.net.URI.create(URI.java:883) ~[?:?]
at org.opencastproject.util.UrlSupport.uri(UrlSupport.java:174) ~[?:?]
at org.opencastproject.adminui.endpoint.UsersEndpoint.createUser(UsersEndpoint.java:360) ~[?:?]
This seems like an Opencast bug as the parameter will be created by the URLSearchParams class which already encodes the values. Encoding the username with encodeURIComponent leads to the following problem:
In this case, I need to login with the username Test%20Test.
Activity
dennis531 commentedon Jul 2, 2024
The post request parameters to
/admin-ng/userslook good:This seems like an Opencast bug as the parameter will be created by the URLSearchParams class which already encodes the values. Encoding the username with encodeURIComponent leads to the following problem:
In this case, I need to login with the username
Test%20Test.mtneug commentedon Jul 2, 2024
Do we want usernames with whitespaces? Are people doing this 😱?
lkiesow commentedon May 5, 2025
No, I think we don't want that :D
We should limit frontend and backend to:
mtneug commentedon May 5, 2025
Please don't.