Skip to content
  1. Dec 30, 2018
  2. Dec 27, 2018
    • Daniel Gustafsson's avatar
      RELEASE-NOTES: synced · a63fe3e5
      Daniel Gustafsson authored
      a63fe3e5
    • Claes Jakobsson's avatar
      hostip: support wildcard hosts · d8cae791
      Claes Jakobsson authored
      This adds support for wildcard hosts in CURLOPT_RESOLVE. These are
      try-last so any non-wildcard entry is resolved first. If specified,
      any host not matched by another CURLOPT_RESOLVE config will use this
      as fallback.
      
      Example send a.com to 10.0.0.1 and everything else to 10.0.0.2:
        curl --resolve *:443:10.0.0.2 --resolve a.com:443:10.0.0.1 \
             https://a.com https://b.com
      
      
      
      This is probably quite similar to using:
        --connect-to a.com:443:10.0.0.1:443 --connect-to :443:10.0.0.2:443
      
      Closes #3406
      Reviewed-by: default avatarDaniel Stenberg <daniel@haxx.se>
      d8cae791
  3. Dec 26, 2018
  4. Dec 25, 2018
  5. Dec 24, 2018
  6. Dec 23, 2018
  7. Dec 22, 2018
  8. Dec 21, 2018
  9. Dec 20, 2018
  10. Dec 19, 2018
  11. Dec 17, 2018
  12. Dec 14, 2018
  13. Dec 13, 2018
    • Daniel Stenberg's avatar
      gopher: fix memory leak from 9026083d · 4b4062aa
      Daniel Stenberg authored
      4b4062aa
    • Leonardo Taccari's avatar
      test1201: Add a trailing `?' to the selector · 3997510e
      Leonardo Taccari authored
      This verify that the `?' in the selector is kept as is.
      
      Verifies the fix in #3370
      3997510e
    • Leonardo Taccari's avatar
      gopher: always include the entire gopher-path in request · 9026083d
      Leonardo Taccari authored
      After the migration to URL API all octets in the selector after the
      first `?' were interpreted as query and accidentally discarded and not
      passed to the server.
      
      Add a gopherpath to always concatenate possible path and query URL
      pieces.
      
      Fixes #3369
      Closes #3370
      9026083d
    • Leonardo Taccari's avatar
      urlapi: distinguish possibly empty query · 305d25ed
      Leonardo Taccari authored
      If just a `?' to indicate the query is passed always store a zero length
      query instead of having a NULL query.
      
      This permits to distinguish URL with trailing `?'.
      
      Fixes #3369
      Closes #3370
      305d25ed
    • Daniel Gustafsson's avatar
      OS400: handle memory error in list conversion · a58b2774
      Daniel Gustafsson authored
      
      
      Curl_slist_append_nodup() returns NULL when it fails to create a new
      item for the specified list, and since the coding here reassigned the
      new list on top of the old list it would result in a dangling pointer
      and lost memory. Also, in case we hit an allocation failure at some
      point during the conversion, with allocation succeeding again on the
      subsequent call(s) we will return a truncated list around the malloc
      failure point. Fix by assigning to a temporary list pointer, which can
      be checked (which is the common pattern for slist appending), and free
      all the resources on allocation failure.
      
      Closes #3372
      Reviewed-by: default avatarDaniel Stenberg <daniel@haxx.se>
      a58b2774
    • Daniel Gustafsson's avatar
      cookies: leave secure cookies alone · 7a09b52c
      Daniel Gustafsson authored
      
      
      Only allow secure origins to be able to write cookies with the
      'secure' flag set. This reduces the risk of non-secure origins
      to influence the state of secure origins. This implements IETF
      Internet-Draft draft-ietf-httpbis-cookie-alone-01 which updates
      RFC6265.
      
      Closes #2956
      Reviewed-by: default avatarDaniel Stenberg <daniel@haxx.se>
      7a09b52c