Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-4036

Consider allowing non-suffixed URL for raw file retrieval

    XMLWordPrintable

    Details

    • Feedback Policy:
      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

      The Syntax for fetching of a raw repo'd file currently is suffixing a browsed URL with '?raw':

      http://host/projects/{project}/repos/{repo}/browse/path/to/file.ext?raw
      

      It would be helpful if an (additional?) URL syntax could be provided which preserved path/to/file.ext as the end of the URL, such that files can not only be referenced over HTTP, but relative paths within those files will naturally resolve under the URL syntax. An example:

      http://host/projects/{project}/repos/{repo}/raw/path/to/file.ext
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              crolf Christian Rolf
              Reporter:
              phnarr Keith Walters
              Votes:
              21 Vote for this issue
              Watchers:
              24 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: