web request for XML returns a gzip but HTTP header is set to text/html

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Medium
    • None
    • Affects Version/s: 4.0 - Beta 2, 3.13
    • Component/s: None
    • Environment:

      enterprise-standalone-3.13
      enterprise-standalone-4.0.0.beta2

    • 3.13

      steps to reproduce:

      • On a repository where a certain Issue A can only be viewed for users being logged in:
      • (works best with firefox)
      • login
      • navigate to issue A
      • click "XML" and copy URL
      • click logout
      • paste URL in address field and hit enter
      • observe what is presented, clearly not XML
      • (in firefox) rightclick page and select page info
      • observer "text/html" as type

      Downloading that file using wget and overriding the HTTP header to gzip type reveals that in fact a gz of a "not logged in" site is returned.
      The type returned should match the type specified in the HTTP header...

      This happens on 4.0.0 beta 2 as well as 3.13.

              Assignee:
              Unassigned
              Reporter:
              Thomas E
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: