www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix von Leitner <leit...@math.fu-berlin.de>
Subject mod_negotiation/1793: Accept: text/html happily returns application/zip files.
Date Thu, 12 Feb 1998 15:52:43 GMT

>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:     leitner@math.fu-berlin.de
>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 <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message