Skip to content
  1. Sep 01, 2010
  2. Aug 30, 2010
  3. Aug 28, 2010
  4. Aug 25, 2010
  5. Aug 24, 2010
  6. Aug 23, 2010
  7. Aug 22, 2010
  8. Aug 20, 2010
    • Dirk Manske's avatar
      Curl_is_connected: use correct errno · ab6681c2
      Dirk Manske authored
      The correctly extracted errno contents were mistakenly overwritten by a newer
      value that wasn't the correct error value.
      
      Bug: http://curl.haxx.se/mail/lib-2010-08/0242.html
      ab6681c2
    • Daniel Stenberg's avatar
      cmdline: make -F type= accept ;charset= · eeb2cb05
      Daniel Stenberg authored
      The -F option allows some custom parameters within the given string, and
      those strings are separated with semicolons. You can for example specify
      "name=daniel;type=text/plain" to set content-type for the
      field. However, the use of semicolons like that made it not work fine if
      you specified one within the content-type, like for:
      "name=daniel;type=text/plain;charset=UTF-8"
      ... as the second one would be seen as a separator and "charset" is no
      parameter curl knows anything about so it was just silently discarded.
      
      The new logic now checks if the semicolon and following keyword looks
      like a parameter it knows about and if it isn't it is assumed to be
      meant to be used within the content-type string itself.
      
      I modified test case 186 to verify that this works as intended.
      
      Reported by: Larry Stone
      Bug: http://curl.haxx.se/bug/view.cgi?id=3048988
      eeb2cb05