Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-8931

commit message page: malformed link created from single-quote-delimited URI

    XMLWordPrintable

Details

    Description

      I made a git commit with a message including a URI delimited with single quotes:

      https://bitbucket.org/tlroche/lightningnox/commits/4d01c4fffa39c32cdd827575a8e367cccc2d3b37/raw/

      URI='https://bitbucket.org/tlroche/lightningnox/raw/HEAD/setup_lightning_NOx.sh'

      The resulting commit message page creates a malformed link:

      https://bitbucket.org/tlroche/lightningnox/commits/4d01c4fffa39c32cdd827575a8e367cccc2d3b37 (source)

      URI='<a href="https://bitbucket.org/tlroche/lightningnox/raw/HEAD/setup_lightning_NOx.sh&#39" rel="nofollow" >https://bitbucket.org/tlroche/lightningnox/raw/HEAD/setup_lightning_NOx.sh&amp;#39</a>

      The initial/opening single-quote is correctly placed outside the link tag, but the final/closing single-quote is incorrectly included in both the tag's href attribute and text.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aa75b9b18f4c tlroche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: