[plug] Apache doesnt like filenames with spaces

Kim Covil kimc at zydeco.ned.dem.csiro.au
Tue Feb 29 14:36:20 WST 2000


> On Mon, 28 Feb 2000, Colin Muller wrote:
> 
> > A space is not a valid URL character (it's called an "unsafe" character
> > in the HTTP RFCs). A server should not accept your request for a
> > filename with a space, and should really replace a space with %20 if,
> 
> OK, I understand that spaces break the HTTP syntax, but I'm talking HTML
> here. 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.
>   So is this another reason why IE is better than Netscape? Or is there
> something in the HTTP spec. that causes this? I tried reading the spec.,
> but it wasnt clear, and just refers to another doc.

I would say if you look at the HTML spec... the href should be a URL
and URL's don't allow unencoded spaces... therefore if IE is working 
properly it is actually doing something other than what the spec calls 
for... which would be a very M$ thing to do.

Cheers

Kim

-- 
====================================================================== 
Kim Covil - Australian Geodynamics CRC   E-mail: kimc at ned.dem.csiro.au 
            CSIRO Exploration & Mining   Tel: +61 8 9284 8425   ,-_!\
            PO Box 437, Nedlands,        Fax: +61 8 9389 1906  /     \
            Western Australia  6009                            *_,-._/   
=================================================================== v 
   Please direct all personal e-mail to kimbotha at it.net.au



More information about the plug mailing list