cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Request failing through libcurl

From: Aaron Meriwether <me_at_ameriwether.com>
Date: Thu, 10 Sep 2015 16:55:06 -0600

> On Sep 10, 2015, at 7:06 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> On Thu, 10 Sep 2015, BALASAHEB SALUNKE wrote:
>
>> http://mytarget.com/../../../../../../../../../../etc/passwd
>>
>> But return 400 return response code. And following response:
>
> ...
>
>> Any one came across same situation? Please provide pointer if any to resolve this?
>
> Compare the requests your browser sends with what libcurl sends to figure out how they differ and then see if you can adjust accordingly?
>

Specifically, the contents of the Apache access.log may be helpful in spotting the difference.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-09-11