curl-library
Re: [Patch] Avoid sending the URL fragment
From: Julien Chaffraix <julien.chaffraix_at_gmail.com>
Date: Sun, 3 Jan 2010 12:33:07 +0100
Received on 2010-01-03
Date: Sun, 3 Jan 2010 12:33:07 +0100
> 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.
You are right. I misunderstood the fragment's position. I have
attached the updated patch (which also add a mention about this change
in the curl_easy_setopt manpage) and test case to match the URI RFC.
Thanks for the review!
Regards,
Julien
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- text/x-patch attachment: uri_fragment_removal_updated.diff
- application/octet-stream attachment: test1110