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

Markdown relative links do not respect the current branch

    XMLWordPrintable

Details

    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Relative links in markdown (README.md) do not respect the current branch.

      To reproduce.

      1. Create two branches, say 'master' and 'develop'.
      2. Add a file to develop, say 'foo.c'.
      3. Edit README.md with a relative link to foo.c:
      ```
      [foo.c](foo.c)
      ```
      4. Push to Stash.

      When navigating the link on the develop branch, it points to the master branch which does not have this file. The link does not preserve the URL query parameters, so loses the "?at=develop" branch bit.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              0b4fc9f1cab3 binkley
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: