https://bz.apache.org/bugzilla/show_bug.cgi?id=70116

            Bug ID: 70116
           Summary: AddType Handler should anchor extensions
           Product: Apache httpd-2
           Version: 2.4.68
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

in example AddType application/x-gzip containing .gz .tgz .tar.gz  
if a filename, such as a gpg sig file is generated as it is by a few major
projects, the simplest as example lets take postfix, 
postfix-3.11.4.tar.gz, it has sig files named 
postfix-3.11.4.tar.gz.gpg1  (and .gpg2 representing the gnupg versions used),
in some browsers apache goes to save it as postfix-3.11.4.tar.gz.gpg1.gz 
because the type seems to not realise .gz is the last component of the
filename, so assumes it is foo.gz.gpg1.gz, this is resolved by using removetype
and filematch set to re-add .gz$   

This was httpd x-gzip anchors to only foo.bar.gz  and not foo.bar.gpg etc, this
is producible using console browsers like lynx, and some  GUI brwsers but
strangely not all.

Summary:  addtype application/foo  .extensions  should be anchored to the
actual extension and not be in reality like it is,  regexp.

Not critical of course, but would be nice to see it act the way most non
developers would assume.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to