1. 11 Feb, 2016 2 commits
    • 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. 10 Feb, 2016 5 commits
  3. 09 Feb, 2016 7 commits
  4. 08 Feb, 2016 13 commits
  5. 07 Feb, 2016 2 commits
  6. 06 Feb, 2016 5 commits
  7. 05 Feb, 2016 3 commits
    • 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. 04 Feb, 2016 3 commits