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

Stash responds with json if application/json is in Accept header

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Low Low
    • None
    • 2.12.1
    • API - Front end
    • Windows x64, Firefox 29

      Firefox 29 uses the following HTTP Accept header in a normal request:
      text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8,application/json

      This results in Stash responding with application/json and a json body instead of the expected text/html login page. Since both text/html and application/json has the same default quality value, q=1.0, it defaults to Json.

              Unassigned Unassigned
              cts-software CTS Software Group SIL PNG
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: