It's not that ht://Dig does not support spaces in URIs. The
HTML specification as defined by W3c defines spaces as illegal in URIs
hence, need to be encoded...

Editors which allow this behavior, whether entered manually by humans or
inserted by software, are incorrect. IMHO, by patching ht://Dig in this
manner you are essentially supporting illegal URIs.
Software editors should be handling this encoding for you.

See:
http://www.ietf.org/rfc/rfc2396.txt

Section: 2.4.3. Excluded US-ASCII Characters for reasoning.

-R^3 (just some guy)

> We've been using htdig now for a couple of months and it's been great. We
> then ran it on one of our sites which has loads of links with spaces in the
> link, e.g.
> <a href="//https://local/this is a test.html">Link with spaces</a>
>
> We see from your FAQs that links with spaces are 'not supported' so we had a
> look at the code and came up with the following solution which appears to
> work fine :-
> ...[Chopped]...
> Regards,
>
> Steve Perrins
> iSystems Development Manager
> Andronicos iCommerce International
> http://www.andronicos.net
>




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
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