Fisheye SAL plugin does not urlencode username when constructing profile page URL

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 4.0.0
    • Affects Version/s: 2.7.0, 2.8.0
    • Component/s: None
    • None

      Fisheye SAL plugin does not urlencode username when constructing profile page URL

      This causes this exception

      2012-09-06 15:50:02,170 ERROR - Error generating profile URI
      java.net.URISyntaxException: Illegal character in path at index 10: /user/blah blah blah
      	at java.net.URI$Parser.fail(URI.java:2810)
      	at java.net.URI$Parser.checkChars(URI.java:2983)
      	at java.net.URI$Parser.parseHierarchical(URI.java:3067)
      	at java.net.URI$Parser.parse(URI.java:3025)
      	at java.net.URI.<init>(URI.java:577)
      	at com.atlassian.sal.fisheye.user.FisheyeUserProfile.<init>(FisheyeUserProfile.java:26)
      	at com.atlassian.sal.fisheye.user.DefaultUserManager.getUserProfile(DefaultUserManager.java:93)
      	at sun.reflect.GeneratedMethodAccessor196.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
      	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      

            Assignee:
            Lukasz Pater
            Reporter:
            Richard Stephens (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: