cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3581898 ] HTTP redirect with fragment wrongly encodes the '#'

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 06 Nov 2012 14:27:32 -0800

Bugs item #3581898, was opened at 2012-10-30 05:43
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3581898&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: http
Group: wrong behaviour
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Daniel Stenberg (bagder)
Assigned to: Daniel Stenberg (bagder)
Summary: HTTP redirect with fragment wrongly encodes the '#'

Initial Comment:
Problem: When I make a request which contains redirects, the last of the redirects returns 404 because a URL from the Location header contains a '#' character. libcurl encodes it to %23 and the request returns 404 (server's rules?)

curl 7.27.0

This bug was found detailed on stackoverflow: http://stackoverflow.com/questions/13111027/libcurl-how-to-change-encoding-url-behavior

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2012-11-06 14:27

Message:
Thanks for the report, this problem is now fixed in the git repository.

To try it out, you either checkout/update your git clone:
http://curl.haxx.se/source.html

or you try tomorrow's daily snapshot: http://curl.haxx.se/snapshots/

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3581898&group_id=976
Received on 2012-11-06

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET