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

New view incorrectly converts space HTML encoding in URL link

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Low
    • Issue - View
    • None

    Description

      Summary

      The new issue view takes the space encoding of "%20" and converts it into "%2520" in the URL which potentials leads you to a 404 page depending on the URL.

      Looks like Jira is reading the encode input as "%20" for space and "%" for "%25".

      Steps to Reproduce

      1. In the old view, add a URL link with the space encoding (ie: https://www.google.com/search?q=hello%20world#brs)
      2. Switch to the new view and click or hover on the URL link.

      Expected Results

      The link is saved with the same URL provided and when clicking on it, directs you to a new page with the same URL (https://www.google.com/search?q=hello%20world#brs).

      Actual Results

      The URL gets converted into https://www.google.com/search?q=hello%2520world#brs and potential breaks the page.

      Notes

      This behaviour is seen in most text-based fields such as Comments and Description.

      Workaround

      If already saved, you can edit the link on the new view and add the URL, then save which fixes it, otherwise, the URL should always be added in the new view.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lellis2@atlassian.com Belto
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: