>Number: 1793 >Category: mod_negotiation >Synopsis: Accept: text/html happily returns application/zip files. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Feb 12 09:10:00 PST 1998 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.2.5 >Environment: Linux >Description: If I connect to my Apache server like this: GET /foo.zip HTTP/1.0 Accept: text/html
It happily sends me the application/zip and even gives the content type as application/zip. IIRC, earlier versions refused to serve the file, which strikes me as the right thing to do. >How-To-Repeat: >Fix: Have Apache return 406 >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]
