Menu

#1159 HTTP redirect with fragment wrongly encodes the '#'

closed-fixed
http (206)
5
2013-06-21
2012-10-30
No

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

Discussion

  • Daniel Stenberg

    Daniel Stenberg - 2012-11-06

    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/

     
  • Daniel Stenberg

    Daniel Stenberg - 2012-11-06
    • status: open --> closed-fixed