Sharepoint URL links are not recognized correctly in the PullRequest description

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 7.11.2
    • Component/s: Nav Links
    • 1
    • Severity 3 - Minor
    • 1

      When we tried to paste an URL to the PR description tab, it got changed automatically by adding some extra charc into the URL after posting it or just by previewing it.
      (please refer to the screenshot). If we create a Pull Request and try to add this URL http://example.com/:v:/s/file/ in the PR description it breaks, got changed to "/s/file/">http://example.com//s/file/"

      The issue is mainly from the SharePoint URL For eg: using "https://example.sharepoint.com/:v:/s/MI4-Analysis/" in the PR description getting changed to "/s/MI4-Analysis/">https://example.sharepoint.com/v/s/MI4-Analysis/".
      It appears Bitbucket doesn't like the ':v' within the URL, it causes it to truncate it and parse as an image src. Jira can handle this URL.

      Workaround:
      Encoding the ":" to "%3A" and use it in the PR description.

      From :
      https://example.sharepoint.com/:v:/s/MI4-Analysis/
      
      To:
      https://example.sharepoint.com/%3Av%3A/s/MI4-Analysis/
      
      

        1. image (5).png
          image (5).png
          140 kB
        2. image-1 (2).png
          image-1 (2).png
          143 kB

            Assignee:
            Unassigned
            Reporter:
            PATEL,SAIKRISHNA (Non-K-India,ex1)
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: