]> granicus.if.org Git - curl/commit
tool_operhlp: Check for backslashes in get_url_file_name
authorJay Satiro <raysatiro@yahoo.com>
Sun, 7 Feb 2016 09:49:07 +0000 (04:49 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Mon, 8 Feb 2016 08:14:04 +0000 (03:14 -0500)
commitd572d2664d82fb8a14b838910018b5683b0af837
treebdfeceeeff6614a672765d9c3437daddbf510add
parentb97307047cffd579ded7cc346daf924b39931e1f
tool_operhlp: Check for backslashes in get_url_file_name

Extract the filename from the last slash or backslash. Prior to this
change backslashes could be part of the filename.

This change needed for the curl tool built for Cygwin. Refer to the
CYGWIN addendum in advisory 20160127B.

Bug: https://curl.haxx.se/docs/adv_20160127B.html
src/tool_operhlp.c