cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] CURLOPT_USERPWD doesn't handle "" (empty string) anymore

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 21 Aug 2014 00:03:49 +0200 (CEST)

On Wed, 20 Aug 2014, Toby Peterson wrote:

> Since the fact that CURLOPT_USERPWD worked with an empty string was
> undocumented, feel free to reject the patch. Looks like the change that
> started allowing "" was
> https://github.com/bagder/curl/commit/08cf6780ba8ea242cb451f07e14bb572079e22cf,
> so it worked for ~4.5 years.

I think we can very well support that since it was working for so long. But
how about then doing it the right way and document it and add a test for it?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-08-21