[plug] Apache doesnt like filenames with spaces

Mike Holland myk at golden.wattle.id.au
Thu Mar 2 23:44:55 WST 2000


On Tue, 29 Feb 2000, Colin Muller wrote:

> Not really - the request your browser sends is not HTML, it's HTTP. The

It needs to be translated to an http request. The browser could help.

> Netscape is taking you literally while IE5 is holding your hand. Which

I call it helping. Netscape is neither rejecting, nor fixing the problem.
It seems to be passing a bad request to apache, whereas IE does the best
it can.

> you prefer is a matter of taste, although you could certainly argue that
> Netscape, being in part an HTTP client, shouldn't ever send out
> malformed HTTP requests.

Indeed I do. :)
 
> >   So is this another reason why IE is better than Netscape? 
> 
> For some reason IE5 won't install on this Linux system I have here, so I
> can't make a reasoned value judgement.

IE works fine on this Linux box, thanks to vmware. Or VNC to the old P120
under the desk.

> > Or is there  something in the HTTP spec. that causes this? 
> 
> That's it.

My mistake. I meant the "HTML spec". 

> I've just checked RFC 2396 (Uniform Resource Identifiers (URI): Generic
> Syntax), which says:...

Ah. Thanks for finding that.

> So my (and your) understanding that spaces could be encoded with %20 was
> wrong: they shouldn't be used at all, ever, in a URI. SO it turns out
> that Netscape is following the standard while IE5 is breaking it
> (surprise!).

Well, IE5 may be helping you to break it, but Netscape should at least do
sanity checking on the data, before sending it as a bad http request.

ciao,

Mike Holland  <mike at golden.wattle.id.au>   Perth, Australia.
                          --==--





More information about the plug mailing list