Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-3459

Issue Tracker "Build Query" Doesn't URL Encode Ampersand (BB-3351)

    XMLWordPrintable

Details

    Description

      For instance, if you filter by a milestone named "XYZ & ABC", the URL produced for the query is

      https://bitbucket.org/me/myrepo/issues?milestone=XYZ%20&%20ABC&status=new&status=open

      The extra ampersand unsurprisingly messes up the query and the system spits out:

      amp;%20ABC: "undefined" milestone: "XYZ " status: "new" or "open"

      If you manually alter the URL to the following (URL encoding instead of HTML escaping the ampersand) it works properly:

      https://bitbucket.org/me/myrepo/issues?milestone=XYZ%20%26%20ABC&status=new&status=open

      Attachments

        Activity

          People

            Unassigned Unassigned
            legacy-bitbucket-user Legacy Bitbucket Cloud User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: