According to Torsten Neuer:
> "c.j.bol" wrote:
> > Hi, we have a problem here with some sites using spaces in filenames.
> > As a result of that htdig (3.1.6) doesn't find that pages.
> > Searching the archives I found some messages about this situation, most
> > of them saying it simply isn't allowed, and another mentions the
> > allow_space_in_ur parameter (however I cannot find that in the
> > documentation and specifying it doesn't help).
> > 
> > Is there a way to force htdig in using this pages?
> 
> They must be served in a correct way, i.e. the spaces *must* be
> encoded as either "+" or "%20".  If they are not, then no conforming
> client nor proxy nor whatever will be able to read those pages.

That's correct.  In order to conform to the standard, any spaces in file
names must be encoded as "%20" in URLs.  I suppose "+" would work too,
although I never tried it.  I've seen "+" in the context of query string
parameters in URLs, though, so it would make sense that it works in the
context of the path portion of the URL as well.

The allow_space_in_url attribute is not a standard part of htdig 3.1.6.
However, if you want to modify htdig to allow non-standard URLs with
embedded space characters, you can apply the following patch which adds
this allow_space_in_url attribute:

    ftp://ftp.ccsf.edu/htdig-patches/3.1.6/fileSpace.1

If you have the option of fixing your HTML documents, though, fixing
them is the best option, because if you leave the embedded spaces, the
URLs won't work with any other software that conforms to the standard.
Only software that bends the rules will allow these embedded spaces.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to