curl-users
Re: curl and http redirects; possible security implications
From: Alex Bligh <alex_at_alex.org.uk>
Date: Sat, 24 Apr 2010 11:33:16 +0100
Date: Sat, 24 Apr 2010 11:33:16 +0100
Daniel,
--On 24 April 2010 12:22:54 +0200 Daniel Stenberg <daniel_at_haxx.se> wrote:
>> Great. Try the attached.
>
> Thanks, pushed now with a couple of edits. I mention them here just for
> your knowledge to think about for upcoming patches!
>
> 1. removed warnings due to missing use of const and 'static' was not
> first on
> line (configure --enable-debug showed these)
>
> 2. re-indented to use curl-style (braces at the same line as while/if)
> less
> than 80 column lines
>
> 3. portability/functionality: use curlx_raw_equal not strcasecmp
>
> 4. style/functionality: use ISALNUM not isalnum
Thanks for that. I shall be neater in future!
-- Alex Bligh ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-04-24