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

Requesting nonexistent files via /raw/ results in unexpected 302 responses

    XMLWordPrintable

Details

    Description

      When using /projects/KEY/repos/slug/raw/... to request raw file contents anonymously, if a nonexistent file is requested the server returns 302 Found rather than the expected 404 Not Found. Authenticated users receive a 404 as expected.

      Attachments

        Activity

          People

            khughes@atlassian.com Kristy
            bturner Bryan Turner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: