curl-library
Re: @ sign in request
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 22 Dec 2006 11:11:07 -0800
Date: Fri, 22 Dec 2006 11:11:07 -0800
On Fri, Dec 22, 2006 at 08:43:56AM -0600, Duncan McQueen wrote:
> url was an STL string populated as such -
> "http://www.url.com?email=mail@mail.com" (actually it was a larger
> string). I got an error returned saying couldn't open "@mail.com".
It looks like libcurl is interpreting this as a request to log in to host
mail.com using a user of "www.url.com?email=mail". Based on the ABNF in
RFC3986, it looks like libcurl is incorrectly interpreting the URL in this
case. I'll bet it would work if you changed your URL to
"http://www.url.com/?email=mail@mail.com".
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2006-12-22