cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_NOPROXY doesn't handle * (wild characters) ???

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 11 Jul 2011 23:30:39 +0200 (CEST)

On Mon, 11 Jul 2011, Ibraheem wrote:

> hi, i'm facing some problem regarding CURLOPT_NOPROXY to work,  as it seems
> to be that the current code doesn't seems to handle wildcharacters.

That is correct.

> You can specify exceptions list in IE settings with * and it works in IE, 
> but the same exceptions doesn't work with libcurl because of *.

Exactly. You need to convert such a list into a list that libcurl will handle
decently. The NO_PROXY environment variable was never about wildcard matching
as I've understood it so we've never done any such.

That said, it could probably be added without breaking backwards
compatibility. So... are you up 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 2011-07-11