Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.3.4
-
4.03
-
Description
In our system all of the user names are of the form "first last".
If I call http://jira.our-company.com/rest/auth/1/session
then it returns HTTP 500
and I see this in the logs, "Caused by: java.net.URISyntaxException: Illegal character in path at index 47: "
2011-11-02 11:35:51,036 http-80-13 ERROR jeff kirby 695x1559x1 1t0z3p3 148.92.245.17 /rest/auth/1/session [jira.rest.exception.ExceptionInterceptor] Returning internal server error in response java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:619) Caused by: java.net.URISyntaxException: Illegal character in path at index 47: http://jira.our-company.com/rest/api/latest/user/jeff kirby at java.net.URI$Parser.fail(URI.java:2809) at java.net.URI$Parser.checkChars(URI.java:2982) at java.net.URI$Parser.parseHierarchical(URI.java:3066) at java.net.URI$Parser.parse(URI.java:3014) at java.net.URI.<init>(URI.java:578) at com.atlassian.jira.rest.auth.Login.currentUser(Login.java:76) ... 142 more