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

Shouldn't supply a response body to Git clients when returning 401 response

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 2.0.3
    • 2.0.1
    • Git Hosting
    • None

      A reported a problem with cloning repositories via HTTP with recent versions of Git.

      Either due to a change in git or a particular version of libcurl git was compiled against the Not Authenticated String Stash sends back to the client causes git to not identify the repository as supporting the smart HTTP protocol.

      Symptoms: a clone attempt aborts with

      fatal: http://user@example.com:7990/scm/PROJECT/repo.git/info/refs not valid: is this a git repository?
      

      To workaround this problem, Stash should supply an empty response body when returning a 401 to the git client.

            [BSERV-2966] Shouldn't supply a response body to Git clients when returning 401 response

            Conny Postma made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 122850 ]
            Owen made changes -
            Workflow Original: Stash Workflow - Restricted [ 1447189 ] New: JAC Bug Workflow v3 [ 3136060 ]
            Owen made changes -
            Workflow Original: Stash Workflow [ 455906 ] New: Stash Workflow - Restricted [ 1447189 ]
            Jeff Thomas made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 122850 ] New: This issue links to "Page (Atlassian Documentation)" [ 122850 ]
            Jeff Thomas made changes -
            Remote Link New: This issue links to "Page (Atlassian Documentation)" [ 122850 ]
            Jeff Thomas made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 115916 ] New: This issue links to "Page (Atlassian Documentation)" [ 115916 ]
            Jeff Thomas made changes -
            Remote Link New: This issue links to "Page (Atlassian Documentation)" [ 115916 ]
            Jeff Thomas made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 115538 ] New: This issue links to "Page (Atlassian Documentation)" [ 115538 ]
            Jeff Thomas made changes -
            Remote Link New: This issue links to "Page (Atlassian Documentation)" [ 115538 ]
            paulwatson (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 107554 ] New: This issue links to "Page (Atlassian Documentation)" [ 107554 ]

              tim@atlassian.com TimP
              tim@atlassian.com TimP
              Affected customers:
              0 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: