To reproduce :
Create a user with a space in its username "example "
Modify it via a PUT request
You should get a 400 "Path id exaple doesn't match with body id example "
because the url is trimmed from the ending space
This username should be accepted and the request go well instead
To reproduce :
because the url is trimmed from the ending space
This username should be accepted and the request go well instead