Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-3411

git over https implementation depends on the user agent starting with "git"

    XMLWordPrintable

Details

    Description

      I'm trying to write a javascript based git client that lives inside a browser extension. If I use a user agent that starts with "git", my client works. If it doesn't start with "git", bitbucket returns a 404 for git http endpoints.

      The problem is that I can't set the user-agent of an xhr in production. I'm able to do it in development by intercepting the request with a local proxy and changing it before I send.

      Attachments

        Activity

          People

            Unassigned Unassigned
            13a89a16571c Ryan Ackley
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: