2010/1/3 Claes Jakobsson <[email protected]>:
> Altho the specification forbids any # in the fragment part I think it's 
> better to look for the leftmost # and consider everything after that the 
> fragment. That way "http://foo/#bar#baz"; won't cause any problems.

There are a few issues to keep in mind when using the leftmost #.
There are some locations within a URL where I believe a # is a legal
character. It may occur within a password, for example. I'm not sure
if there is a requirement for the # character to be escaped if it
occurs in the path.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to