Menu

#576 parse url error

closed-fixed
libcurl (356)
5
2006-03-28
2006-03-17
Anonymous
No

when use liburl, the version is 7.15.2

request from this url:
http://forum.ikaka.com/list.asp?board=53

after redirections, it redirct to the following url:
http://forum.ikaka.com/setusermsg.asp?
result=f&url=http://forum.ikaka.com/list.asp?board=53

the response is:
Location: script.asp?url=http://forum.ikaka.com/list.
asp?board=53

then liburl issue a request to this url:
http://forum.ikaka.com/setusermsg.asp?
result=f&url=http://forum.ikaka.com/script.asp?
url=http://forum.ikaka.com/list.asp?board=53

it's incorrect, the correct one should be:
http://forum.ikaka.com/script.asp?url=http://forum.
ikaka.com/list.asp?board=53

if any response or need more detail, mail to:
woooh@hotmail.com
include "han" in the subject.

Discussion

  • Dan Fandrich

    Dan Fandrich - 2006-03-17

    Logged In: YES
    user_id=236775

    This server is responding with a Location: URI that is not
    absolute, thereby violating the HTTP/1.1 specification.
    Whatever libcurl does in this case can't be considered
    wrong; inconvenient, perhaps, but GIGO.

     
  • Nobody/Anonymous

    Logged In: NO

    but popular browser, such as ie, firefox, opera, even
    wget(1.10 or above) could do this in more smart way.

    woooh@hotmail.com

     
  • Daniel Stenberg

    Daniel Stenberg - 2006-03-28
    • status: open --> closed-fixed
     
  • Daniel Stenberg

    Daniel Stenberg - 2006-03-28

    Logged In: YES
    user_id=1110

    Fixed in CVS. The two '?'-letters in the URL confused the
    redirect-parser.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.