diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/http_digest.c | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/http_digest.c b/lib/http_digest.c index e5efd3ef6..14612c527 100644 --- a/lib/http_digest.c +++ b/lib/http_digest.c @@ -5,7 +5,7 @@   *                            | (__| |_| |  _ <| |___   *                             \___|\___/|_| \_\_____|   * - * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.   *   * This software is licensed as described in the file COPYING, which   * you should have received as part of this distribution. The terms @@ -180,6 +180,9 @@ CURLdigest Curl_input_digest(struct connectdata *conn,          break; /* we're done here */        header += totlen; +      /* pass all additional spaces here */ +      while(*header && ISSPACE(*header)) +        header++;        if(',' == *header)          /* allow the list to be comma-separated */          header++;  | 
