Hello,
I understand that this might be most appropriate to ask in github for the project or somewhere like that but figure there are more people here that may have had to deal with this issue.
When using the REST plugin, trying to GET a user that has spaces in the username, or groups that have spaces in the name does not resolve, returns a 500.
Replacing the spaces with a ‘\20’ and or ‘%20’ does not solve the issue. I am scripting the creation of users now so we will not have to worry about spaces in the future but how can I handle these objects that have spaces?
Basically:
get ‘http://server.com:9090/plugins/restapi/v1/users/user.name’ returns 200
get ‘http://server.com:9090/plugins/restapi/v1/users/user name’ returns 500
get ‘http://server.com:9090/plugins/restapi/v1/users/user\20name’ returns 500
get ‘http://server.com:9090/plugins/restapi/v1/users/user%20name’ returns 500
Thanks!