Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-4832

Current version of AppLinks library does not URL encode username as part OAuth request

    XMLWordPrintable

Details

    Description

      We have created a ticket in the AppLinks JIRA project but we need to keep track of it to upgrade once the issue is resolved and a new version is released.

      This issue impacts our customers when their username contains a spaces for instance. They are unable to see JIRA tickets in the dialogs displayed by Stash.

      atlassian-stash.log
      2014-06-05 11:45:24,192 ERROR [http-bio-7990-exec-6] Christopher Watson 705x5175x0 9z24mr 192.168.11.53 "GET /rest/jira-integration/latest/issues HTTP/1.1" c.a.p.r.c.e.j.ThrowableExceptionMapper Uncaught exception thrown by REST service: Illegal character in query at index 199: http://domain.jira.com:8100/rest/api/2/search?jql=issuekey+in+(AP-8)+ORDER+BY+issuekey&fields=*all,-comment&expand=renderedFields,transitions&validateQuery=false&xoauth_requestor_id=Christopher Watson
      java.lang.IllegalArgumentException: Illegal character in query at index 199: http://domain.jira.com:8100/rest/api/2/search?jql=issuekey+in+(AP-8)+ORDER+BY+issuekey&fields=*all,-comment&expand=renderedFields,transitions&validateQuery=false&xoauth_requestor_id=Christopher Watson
      	at java.net.URI.create(URI.java:859) ~[na:1.7.0_55]
      ...
      ...
      ...
      

      Attachments

        Issue Links

          Activity

            People

              nma@atlassian.com Norman Ma (Inactive)
              jpalacios Juan Palacios (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: