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

Relative links are broken in the auto-displayed README.md

    XMLWordPrintable

Details

    Description

      When browsing a directory Stash will auto-display a README.md file, if found. Very useful, BTW. However, relative links are broken in this view.

      Specifically, open a repository and choose "source" from the navigation panel on the left. The URL in the browser ends in /browse. The rendering of the markdown seems to interpret that as a filename and so all relative links are off by a path component.

      Workaround 1: open the README.md directly (URL now ends in browse/README.md and the links work correctly)
      Workaround 2: append a '/' to the URL in the browser and re-load the page (URL now ends in browse/ and the links work correctly).

      Is there a way to force Stash to have the trailing '/' when browsing the repository?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              f5eb985d9633 Andrew Fuller
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: