You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joshua Slive <jo...@slive.ca> on 2006/07/01 00:21:39 UTC

Re: [users@httpd] mod_autoindex and README.html gzipped

On 6/30/06, Miguel Pagano <mi...@gmail.com> wrote:
> On 6/30/06, Joshua Slive <jo...@slive.ca> wrote:
> > There was an old vaudeville joke that went something like:
> > A man walks into the doctor's office, raises his arm and says, "Doc,
> > it hurts when I do this."  The doctor says, "Don't do that."
> >
> > Yes, there is a small bug here in the sense that Apache tries to
> > prevent you from shooting yourself in the foot by only trying to
> > include text/* documents but allows you to dodge that check using
> > encoding and shot yourself in the foot anyway.  But that is really
> > only a safety check, and the fix is either not gzip your README, or
> > configure apache not to include it.  (In other words, stop trying to
> > shoot yourself in the foot.)  I think it is borderline whether it is
> > worth adding code to check for this special case.
>
> Should I mark the bug I filled as resolved because it's invalid?
> Thanks for the explanation (and for the joke ;)

No, you can leave it and see if anyone thinks it is worth fixing.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org