Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-4269

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 4.0.0
    • 2.7.0, 2.8.0
    • None
    • None

    Description

      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)
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: