Parsing of URL's which contain Windows Path separator (original) (raw)

Shirish Kuncolienkar shirishk at linux.vnet.ibm.com
Mon Aug 20 08:04:52 PDT 2012


Any thoughts on the following

It will be good if the one could create relative url from other url which is based on windows style path. example "hello.html" relative "http://someserver/foo/bar" becomes "http://someserver/foo/hello.html"

In the similar way "hello.html"relative to "file:///C:\foo\bar" can be resolved to "file:///C:/foo/hello.html" currently the URL parser resolves it to "file:////hello.html" (this behavior is correct going by the api spec, since windows file separator character is considered as a special character)



More information about the net-dev mailing list