掲示板

add-user request via URL with special characters

6年前 に Cesar Rodriguez によって更新されました。

add-user request via URL with special characters

New Member 投稿: 5 参加年月日: 17/10/12 最新の投稿
Greetings, I am using liferay (6.2 ga5) api/jsonws to register users from an external java based module (independent from liferay) in my server. The url works fine until I try to add users with special characters in their names. For example:
https://liferayaddress:port/api/jsonws/user/add-user/-company-id/0/auto-password/true/[...]last-name/Müller/prefix-id/[...]/send-email/true
The user is correctly saved, however the last-name property is saved with the corresponding Latin-1 characters:
ä : ä
ö: ö
ü: ü (and so on).
I've tried encoding the url with utf-8 and ascii, but the only difference was that the user in liferay was saved with the corresponding encoding characters.

Any ideas on how to address this situation?
thumbnail
6年前 に Andrew Jardine によって更新されました。

RE: add-user request via URL with special characters

Liferay Legend 投稿: 2416 参加年月日: 10/12/22 最新の投稿
Hi Caesar,

ONLY the last name field has these characters? Have you checked the collation in the database?