Empty atlassian-gzipfilter HTTP response headers - does not conform to RFC2616

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 3.5.13
    • Affects Version/s: None
    • Component/s: None

      Steps to replicate:

      1. Enable the compress http header option in Confluence Standalone
      2. Notice that we left the Content-Encoding and Vary headers to be empty in some response headers:
        ------------------------------------------------------------------
        
        GET http://paulaner:8080/plugins/pagetree/naturalchildren.action?decorator=none&excerpt=false&sort=position&reverse=false&disableLinks=false&hasRoot=true&pageId=32782&treeId=0&startDepth=0&ancestors=32838&ancestors=32839&ancestors=32770&ancestors=32826&ancestors=32782 HTTP/1.1
        x-requested-with: XMLHttpRequest
        Accept-Language: en-us
        Referer: http://paulaner:8080/display/ds/HR+Policies+and+Procedures
        Accept: text/plain, */*
        UA-CPU: x86
        Accept-Encoding: gzip, deflate
        User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
        Host: paulaner:8080
        Connection: Keep-Alive
        Cookie: JSESSIONID=C77C6E73BD8E5A58662DDD5E1A14DB9A; seraph.confluence=1048577%3A1c15dd109bf642fb68620ab2724544ded8ab6736
        
        
        HTTP/1.1 200 OK
        Server: Apache-Coyote/1.1
        Cache-Control: no-cache, must-revalidate
        Expires: Thu, 01 Jan 1970 00:00:00 GMT
        X-Confluence-Request-Time: 1303099062452
        X-Seraph-LoginReason: OK
        Content-Encoding: gzip
        Vary: User-Agent
        Content-Type: text/html;charset=UTF-8
        Transfer-Encoding: chunked
        Date: Mon, 18 Apr 2011 03:57:42 GMT
        
        
        
        ------------------------------------------------------------------
        
        GET http://paulaner:8080/s/en/2149/1/1.16/_/download/batch/confluence.macros.advanced:fancy-box/images/fancy_closebox.png HTTP/1.1
        Accept: */*
        Referer: http://paulaner:8080/display/ds/HR+Policies+and+Procedures
        Accept-Language: en-us
        UA-CPU: x86
        Accept-Encoding: gzip, deflate
        User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
        Connection: Keep-Alive
        Host: paulaner:8080
        Cookie: JSESSIONID=C77C6E73BD8E5A58662DDD5E1A14DB9A; seraph.confluence=1048577%3A1c15dd109bf642fb68620ab2724544ded8ab6736
        
        
        HTTP/1.1 200 OK
        Server: Apache-Coyote/1.1
        Expires: Mon, 18 Apr 2011 12:43:18 GMT
        Cache-Control: max-age=31536000
        Cache-Control: public
        Last-Modified: Mon, 18 Apr 2011 00:06:36 GMT
        ETag: "1303085196000"
        Content-Type: image/png;charset=UTF-8
        Transfer-Encoding: chunked
        Date: Mon, 18 Apr 2011 03:57:42 GMT
        
        
        
        ------------------------------------------------------------------
        
        GET http://paulaner:8080/s/en/2149/1/1.0.16/_/plugins/drag-and-drop/i18n.action?locale=en_GB HTTP/1.1
        x-requested-with: XMLHttpRequest
        Accept-Language: en-us
        Referer: http://paulaner:8080/display/ds/HR+Policies+and+Procedures
        Accept: application/json, text/javascript, */*
        UA-CPU: x86
        Accept-Encoding: gzip, deflate
        User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
        Host: paulaner:8080
        Connection: Keep-Alive
        Cookie: JSESSIONID=C77C6E73BD8E5A58662DDD5E1A14DB9A; seraph.confluence=1048577%3A1c15dd109bf642fb68620ab2724544ded8ab6736
        
        
        HTTP/1.1 200 OK
        Server: Apache-Coyote/1.1
        Cache-Control: max-age=31536000
        Expires: Mon, 18 Apr 2011 12:43:18 GMT
        Cache-Control: public
        Last-Modified: Tue, 29 Mar 2011 13:00:00 GMT
        ETag: "1301403600000"
        Content-Encoding: 
        Vary: 
        Content-Type: application/json;charset=UTF-8
        Transfer-Encoding: chunked
        Date: Mon, 18 Apr 2011 03:57:42 GMT
        
        
        
        ------------------------------------------------------------------
        

      This causes some unexpected response from other application server that led to failure to render some CSS content - making Confluence unusable.

              Assignee:
              Richard Atkins
              Reporter:
              Roy Hartono [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified