[plug] Apache doesnt like filenames with spaces

Colin Muller colin at durbanet.co.za
Tue Feb 29 13:30:32 WST 2000


Mike Holland wrote:

> OK, I understand that spaces break the HTTP syntax, but I'm talking HTML
> here. 

Not really - the request your browser sends is not HTML, it's HTTP. The
document you get back for your HTTP request may (or may not) be HTML.
HTTP is the request and transport protocol/mechanism, HTML is what's
transported.

> So it appears the Apache is innocent, and Netscape is at fault for
> generating a bad HTTP request. I tested this with IE5, and it correctly
> substituted %20 for " " in the HTTP request.

Netscape is taking you literally while IE5 is holding your hand. Which
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.

>   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.

> Or is there  something in the HTTP spec. that causes this? 

That's it.

Colin



More information about the plug mailing list