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
Actually it works wrong and saves it as string "FirstName+LastName". Probably the reason is WebUtilities.UrlEncode on fullName string (this helper replaces ' ' character with the '+' character).
Also, I think this problem is actual for all POST/PUT requests.
Steps to reproduce the behavior
You can just call UserManagementService .CreateUser with FullName parameter that contains spaces.
The text was updated successfully, but these errors were encountered:
FinkoAI
changed the title
UserManagementService .CreateUser replaces ' ' with ''
UserManagementService .CreateUser replaces ' ' with '+'
Oct 10, 2019
@maartenba We have checked the fix. And there is another issue now. Is replaces ' ' character with the '%20'. I guess FormData shouldn't be escaped and it could be passed as is.
Expected behavior
We are using UserManagementService .CreateUser (https://github.com/JetBrains/YouTrackSharp/blob/192/src/YouTrackSharp/Management/UserManagementService.cs#L86) for users creating in our library. In case of sending full name like "FirstName LastName" it should create user with the full name equals "FirstName LastName"
Actual behavior
Actually it works wrong and saves it as string "FirstName+LastName". Probably the reason is WebUtilities.UrlEncode on fullName string (this helper replaces ' ' character with the '+' character).
Also, I think this problem is actual for all POST/PUT requests.
Steps to reproduce the behavior
You can just call UserManagementService .CreateUser with FullName parameter that contains spaces.
The text was updated successfully, but these errors were encountered: