Revision 1241:78ed696cd07b
b/src/org/gss_project/gss/server/rest/UserSearchHandler.java | ||
---|---|---|
71 | 71 |
if (!path.equals("/")) |
72 | 72 |
try { |
73 | 73 |
JSONArray json = new JSONArray(); |
74 |
|
|
74 |
path = URLDecoder.decode(path.substring(1), "UTF-8"); |
|
75 | 75 |
if (mustContainsAt && !path.contains("@")) |
76 | 76 |
path += '@'; |
77 |
List<User> users = getService().getUsersByUserNameLike(URLDecoder.decode(path.substring(1), "UTF-8"));
|
|
77 |
List<User> users = getService().getUsersByUserNameLike(path);
|
|
78 | 78 |
for (User u: users) { |
79 | 79 |
// Build the proper parent URL |
80 | 80 |
String pathInfo = req.getPathInfo(); |
Also available in: Unified diff