httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@organic.com>
Subject Re: WWW Form Bug Report: "Usr of ".map." in file name causes problems" on HPUX (fwd)
Date Fri, 28 Jun 1996 22:58:38 GMT
On Fri, 28 Jun 1996, Alexei Kosut wrote:
> On Fri, 28 Jun 1996, Brian Behlendorf wrote:
> 
> > The metainformation comes from the server configs, after all, that's
> > what's telling the server to process it as a map and not just a straight
> > text file.  
> 
> I still don't see what you're getting at. The problem here is that
> mod_imap core dumps when it gets fed binary data (like a GIF). How do you
> prevent this from happening by looking at the data type when all you know
> is that the filename is "foo.map"?
> 
> I'm confused.

I guess I meant catch it before even farming it off to mod_imap (though I
agreed, mod_imap should be fixed to not core dump no matter what is thrown
at it).  I.e., the server says to itself "okay, I'm supposed to include
file.map. Oops, I can't do that, because file.map isn't text or a CGI
script".  If the list of "acceptible" included content isn't difficult to
come up with, then that seems like a proper path to go down....

	Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  www.apache.org  hyperreal.com  http://www.organic.com/JOBS


Mime
View raw message