Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-18529

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Medium Medium
    • None
    • 3.13, 4.0 - Beta 2
    • None
    • enterprise-standalone-3.13
      enterprise-standalone-4.0.0.beta2

      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.

            Unassigned Unassigned
            2440b301e408 Thomas Ehrnhoefer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: