Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-71951

Encoded hyperlinks from the old issue view are double encoded when switching to the new view (Wiki to ADF conversion)

    XMLWordPrintable

Details

    Description

      Problem Summary

      Whenever Jira changes between the old and the new issue view, a conversion from Wiki Mark-up to ADF takes place. When this happens if the old issue view had an encoded URL (example below) the URL will be encoded again, possibly causing the hyperlink to fail.

      https://example.com/new%20example%20with%20spaces
      

      The text you see remains the same, however, the HREF is encoded again.

      Steps to Reproduce

      1. Turn-off the New Issue View (switch available on personal settings).
      2. Paste an encoded URL (example below) in the Description or in a Comment body
        • https://example.com/new%2520example%2520with%2520spaces
      3. Save the changes
      4. Turn-on the New Issue View and check the issue

      Expected Behavior

      The URL is not encoded again, (since it is already encoded) thus still accessible.

      Actual Behavior

      The href of the URL is double encoded. So the above example will redirect you to:

      https://example.com/new%2520example%2520with%2520spaces
      

      Workaround

      Copy the URL, paste in a plain text editor and paste it again in the issue (while in the new view).

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          166 kB
        2. url-encoding.gif
          url-encoding.gif
          3.51 MB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              emasiero Eduardo Masiero
              Votes:
              10 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: