cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: http digest input parse fix

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 4 Aug 2004 14:34:37 +0200 (CEST)

On Tue, 3 Aug 2004, Joel Chen wrote:

> I don't know HTML enough to be sure of the syntax restriction,

I take it you meant HTTP. But AFAIR, they _should_ all be within quotes.

> but a case that won't work is "value=content ,"

Using it like that will cause libcurl to treat the trailing space as part of
the content.

> As it turns out, which I just verified, %n would require a search for the
> comma also if aforementioned syntax is valid.

If the space wouldn't be part of the content, yes.

> the fix submitted in CVS serves my purpose

Goodie!

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-08-04