Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-12341

When readme.md contains a URL that contains an asterisk, the resulting link points to "null".

XMLWordPrintable

      Issue Summary

      When readme.md contains a URL that contains an asterisk, the resulting link points to "null".

      Steps to Reproduce

      1. Commit and push a readme.md file that contains this URL:
        https://something.something.com/something?query=*
      2. Open the repository that the file was pushed to in the Bitbucket Server UI

      Expected Results

      The link is clickable and leads to https://something.something.com/something?query=*

      Actual Results

      The link is clickable and leads to "null", relative to the repository (because the href is null)

      Workaround

      The asterisk can be URL-escaped with %a

        1. image-2020-06-30-16-35-06-392.png
          27 kB
          Frank Doherty
        2. image-2020-06-30-16-35-13-162.png
          25 kB
          Frank Doherty

              fdoherty@atlassian.com Frank Doherty
              cglockner Christian Glockner
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: