On 3 jan 2010, at 02.00, Julien Chaffraix wrote: > Hi, > > as suggested in http://curl.haxx.se/mail/lib-2009-04/0252.html, URL > fragment should not be send by libcURL.The attached patch corrects > this behaviour and renames a misnamed variable. I have tried the test > harness without regression. > 2 new test cases are also attached separately thought they are part of > the global diff. > > Comments are welcome!
excellent, this is something one have to do manually at the time so +1 for the patch. However, I'm in doubt about the part that mangles path#fragment?query to path?query. As specified by the URI RFC the fragment is always the last part and anything after it can be disregarded. This would also make the patch a lot simpler. Cheers, Claes ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
