Skip to content
  1. Feb 11, 2016
    • Daniel Stenberg's avatar
      examples: adhere to curl code style · 3a6563d6
      Daniel Stenberg authored
      All plain C examples now (mostly) adhere to the curl code style. While
      they are only examples, they had diverted so much and contained all
      sorts of different mixed code styles by now. Having them use a unified
      style helps users and readability. Also, as they get copy-and-pasted
      widely by users, making sure they're clean and nice is a good idea.
      
      573 checksrc warnings were addressed.
      3a6563d6
    • Daniel Stenberg's avatar
      examples/cookie_interface.c: add cleanup call · 936d8f07
      Daniel Stenberg authored
      cleaning up handles is a good idea as we leak memory otherwise
      
      Also, line wrapped before 80 columns.
      936d8f07
  2. Feb 10, 2016
  3. Feb 09, 2016
  4. Feb 08, 2016
  5. Feb 07, 2016
  6. Feb 06, 2016
  7. Feb 05, 2016
    • Jay Satiro's avatar
      unit1604: Fix unit setup return code · a6208704
      Jay Satiro authored
      a6208704
    • Jay Satiro's avatar
      9b6598ed
    • Jay Satiro's avatar
      tool_doswin: Improve sanitization processing · 4520534e
      Jay Satiro authored
      - Add unit test 1604 to test the sanitize_file_name function.
      
      - Use -DCURL_STATICLIB when building libcurltool for unit testing.
      
      - Better detection of reserved DOS device names.
      
      - New flags to modify sanitize behavior:
      
      SANITIZE_ALLOW_COLONS: Allow colons
      SANITIZE_ALLOW_PATH: Allow path separators and colons
      SANITIZE_ALLOW_RESERVED: Allow reserved device names
      SANITIZE_ALLOW_TRUNCATE: Allow truncating a long filename
      
      - Restore sanitization of banned characters from user-specified outfile.
      
      Prior to this commit sanitization of a user-specified outfile was
      temporarily disabled in 2b6dadc5 because there was no way to allow path
      separators and colons through while replacing other banned characters.
      Now in such a case we call the sanitize function with
      SANITIZE_ALLOW_PATH which allows path separators and colons to pass
      through.
      
      
      Closes https://github.com/curl/curl/issues/624
      Reported-by: Octavio Schroeder
      4520534e
  8. Feb 04, 2016