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

Pasting a link with an email in it into a URL field creates a mailto: link

XMLWordPrintable

      Issue Summary

      Pasting a link with an email in it into a URL field creates a mailto: link

      Steps to Reproduce

      1. Create a URL custom field and add it to an issue screen
      2. Paste a URL with an email into the field (e.g. https://example.com/?query=email:foo@bar.com%20OR%20123)

      Expected Results

      Clicking the link takes you to the URL

      Actual Results

      Clicking the link takes you to an email client because the link is interpreted as an email and transformed into a mailto:

      Workaround

      As a workaround, you can change the @ to the URL encode value of %40.

      For instance:

      https://example.com/?query=email:foo@bar.com%20OR%20123

      becomes

      https://example.com/?query=email:foo%40bar.com%20OR%20123

              Unassigned Unassigned
              d1b9e6273b65 Faizan Sayyed
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: