[clug] Spaces in filenames?

Damien Elmes clug at repose.cx
Wed Aug 20 10:37:01 EST 2003


Russell Weatherburn <russell at oxyoss.net> writes:

> Could this be made to work with Apache?  Quite often windoze users end
> up with spaces in their filenames, and I find it difficult to get them
> from web pages (or samba services, sometimes).  Underscores get around
> this issue, but sometimes the users want to have the spaces in
> there...

Sounds like you're approaching the problem from the wrong end. A
decent browser when given a URL in the location bar like:

http://path/to/name with space

will automatically transform the spaces to URL escaped %20 entities,
as it should. You shouldn't have to hack Apache.

Cheers,
-- 
Damien Elmes



More information about the linux mailing list