Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-69374

Jira using double encoding for characters in referrer URL when loading dashboard

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 7.8.1, 8.1.0
    • Dashboard & Gadgets
    • None

    Description

      Issue Summary

      Jira using double encoding for character in referrer URL when loading dashboard

      Steps to Reproduce

      1. Refresh Jira dashboard while recording network traffic in browser (developer tools)
      2. Once the page is loaded, search for "up_rendering" text in browser network console
      3. Click on one filtered request and observe double coded characters:

      Expected Results

      Jira doesn't double encode the characters, which means that space character is encoded as "%20".

      Actual Results

      Jira double encodes chracters, which means that "%20" appears as "%2520" (as "%" characters corresponds to code "%25").

      This is also visible on this piece of URL extracted from the HAR file:

      ...rules=%257B%2522rules%2522%253A%255B%255D%257D&up_renderingContext=&up_keys=&up_itemKeys=&up_username=&url=http%3A%2F%2Flocalhost%3A7810%2Fjira781%2Frest%2Fgadgets%2F1.0%2Fg%2Fcom.atlassian.streams.streams-jira-plugin%3Aactivitystream-gadget%2Fgadgets%2Factivitystream-gadget.xml&libs=auth-refresh
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mfilipan Marko Filipan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: