Revision tags: curl-7_49_1, curl-7_49_0, curl-7_48_0 |
|
#
4ef6d6b1 |
| 14-Mar-2016 |
Daniel Stenberg |
curl: glob_range: no need to check unsigned variable for negative cppcheck warned: [src/tool_urlglob.c:283]: (style) Checking if unsigned variable 'step_n' is less than zero.
|
#
c3aac489 |
| 08-Feb-2016 |
Jay Satiro |
tool_urlglob: Allow reserved dos device names (Windows) Allow --output to reserved dos device names without the device prefix for backwards compatibility. Example: --output NUL
tool_urlglob: Allow reserved dos device names (Windows) Allow --output to reserved dos device names without the device prefix for backwards compatibility. Example: --output NUL can be used instead of --output \\.\NUL Bug: https://github.com/curl/curl/commit/4520534#commitcomment-15954863 Reported-by: Gisle Vanem
show more ...
|
Revision tags: curl-7_47_1 |
|
#
4520534e |
| 05-Feb-2016 |
Jay Satiro |
tool_doswin: Improve sanitization processing - Add unit test 1604 to test the sanitize_file_name function. - Use -DCURL_STATICLIB when building libcurltool for unit testing.
tool_doswin: Improve sanitization processing - 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 2b6dadc 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
show more ...
|
#
4af40b36 |
| 02-Feb-2016 |
Daniel Stenberg |
URLs: change all http:// URLs to https://
|
Revision tags: curl-7_47_0, curl-7_46_0, curl-7_45_0, curl-7_44_0, curl-7_43_0, curl-7_42_1, curl-7_42_0 |
|
#
83835f71 |
| 25-Mar-2015 |
Emil Lerner |
globbing: fix url number calculation when using range with step In function glob_range, the number of urls was multiplied by (max - min + 1), regardless of step. The correct formula is (
globbing: fix url number calculation when using range with step In function glob_range, the number of urls was multiplied by (max - min + 1), regardless of step. The correct formula is (max - min) / step + 1
show more ...
|
#
7b223a3a |
| 25-Mar-2015 |
Emil Lerner |
globbing: fix step parsing for character globbing ranges The glob_range function used wrong offset (3 instead of 4) for parsing integer step inside character range specification, which l
globbing: fix step parsing for character globbing ranges The glob_range function used wrong offset (3 instead of 4) for parsing integer step inside character range specification, which led to 'bad range' error when using character ranges with explicitly specified step (such as '[a-z:2]')
show more ...
|
#
dcf23b0c |
| 03-Mar-2015 |
Daniel Stenberg |
tool: use ENABLE_CURLX_PRINTF instead of _MPRINTF_REPLACE
|
Revision tags: curl-7_41_0, curl-7_40_0 |
|
#
ae56df82 |
| 16-Dec-2014 |
Daniel Stenberg |
glob_next_url: make the loop count upwards As the former contruct apparently caused a compiler warning, mentioned in d8efde07e556c.
|
#
b0670ff1 |
| 16-Dec-2014 |
Daniel Stenberg |
tool_urlglob: unify return codes to use CURLcode There was a mix of GlobCode, CURLcode and ints and they were mostly passing around CURLcode errors. This change makes the functions use o
tool_urlglob: unify return codes to use CURLcode There was a mix of GlobCode, CURLcode and ints and they were mostly passing around CURLcode errors. This change makes the functions use only CURLcode and removes the GlobCode type completely.
show more ...
|
#
9b61060f |
| 15-Dec-2014 |
Daniel Stenberg |
tool_urlglob.c: partly reverse dc19789444 The loop in glob_next_url() needs to be done backwards to maintain the logic. dc19789444 caused test 1235 to fail.
|
#
dc197894 |
| 14-Dec-2014 |
Daniel Stenberg |
tool_urlglob.c: reverse two loops By counting from 0 and up instead of backwards like before, we remove the need for the "funny" check of the unsigned variable when decreased passed
tool_urlglob.c: reverse two loops By counting from 0 and up instead of backwards like before, we remove the need for the "funny" check of the unsigned variable when decreased passed zero. Easier to read and less risk for compiler warnings.
show more ...
|
#
64854c03 |
| 14-Dec-2014 |
Marc Hoersken |
tool_urlglob.c: Added braces to clarify the conditions
|
#
d8efde07 |
| 14-Dec-2014 |
Marc Hoersken |
tool_urlglob.c: Silence warning C6293: Ill-defined for-loop The >= 0 is actually not required, since i underflows and the for-loop is stopped using the < condition, but this makes th
tool_urlglob.c: Silence warning C6293: Ill-defined for-loop The >= 0 is actually not required, since i underflows and the for-loop is stopped using the < condition, but this makes the VS2012 compiler and code analysis happy.
show more ...
|
Revision tags: curl-7_39_0, curl-7_38_0, curl-7_37_1 |
|
#
45c93dad |
| 11-Jul-2014 |
Dan Fandrich |
Fixed some "statement not reached" warnings
|
Revision tags: curl-7_37_0 |
|
#
952b5409 |
| 09-May-2014 |
Steve Holme |
tool_urlglob.c: Fixed compilation warning An enumerated type is mixed with another type.
|
#
667d133d |
| 18-Apr-2014 |
Marc Hoersken |
tool_urlglob.c: added some comments to clarify for loop conditions I was tempted to change those to >= 0 until I saw that this is actually a for loop that terminates once i underflows.
|
#
0bc4938e |
| 30-Mar-2014 |
Paul Marks |
curl: stop interpreting IPv6 literals as glob patterns. This makes it possible to fetch from an IPv6 literal without specifying the -g option. Globbing remains available elsehwere in th
curl: stop interpreting IPv6 literals as glob patterns. This makes it possible to fetch from an IPv6 literal without specifying the -g option. Globbing remains available elsehwere in the URL. For example: curl http://[::1]/file[1-3].txt This creates no ambiguity, because there is no overlap between the syntax of valid globs and valid IPv6 literals. Globs contain hyphens and at most 1 colon, while IPv6 literals have no hyphens, and at least 2 colons. The peek_ipv6() parser simply whitelists a set of characters and counts colons, because the real validation happens later on. The character set includes A-Z, in case someone decides to implement support for scopes like [fe80::1%25eth0] in the future. Signed-off-by: Paul Marks <pmarks@google.com>
show more ...
|
Revision tags: curl-7_36_0, curl-7_35_0, curl-7_34_0 |
|
#
0dd65220 |
| 28-Nov-2013 |
Daniel Stenberg |
globbing: curl glob counter mismatch with {} list use The "fixed string" function wrongly bumped the "urlnum" counter which made curl output the total number of URLs wrong when using
globbing: curl glob counter mismatch with {} list use The "fixed string" function wrongly bumped the "urlnum" counter which made curl output the total number of URLs wrong when using {one,two,three} lists in globs. Reported-by: Michael-O Bug: http://curl.haxx.se/bug/view.cgi?id=1305
show more ...
|
#
bce03fe1 |
| 03-Nov-2013 |
Daniel Stenberg |
glob_range: pass the closing bracket for a-z ranges Regression since commit 5ca96cb844102 (release in 7.33.0) Reported-by: Marcin Gryszkalis
|
#
867b52a7 |
| 21-Oct-2013 |
Daniel Stenberg |
glob: fix regression from commit 5ca96cb844 Plain strings after glob ranges/lists weren't treated correctly but caused broken URLs to get used. Reported-by: Javier Barroso
|
Revision tags: curl-7_33_0 |
|
#
9fa42bed |
| 06-Sep-2013 |
Daniel Stenberg |
urlglob: improved error messages and column number on bad use Introduce a convenience macro and keep of the column better so that it can point out the offending column better. U
urlglob: improved error messages and column number on bad use Introduce a convenience macro and keep of the column better so that it can point out the offending column better. Updated test 75 accordingly.
show more ...
|
#
d6cda9e8 |
| 06-Sep-2013 |
Daniel Stenberg |
urlglob: avoid error code translation By using the correct values from the start we don't have to translate them!
|
#
2a7f1425 |
| 06-Sep-2013 |
Daniel Stenberg |
urlglob: avoid NULL pointer dereference Thanks to clang-analyzer
|
#
84789e12 |
| 26-Aug-2013 |
Steve Holme |
tool_urlglob.c: Fixed compiler warnings warning: 'variable' may be used uninitialized in this function
|
#
f15a88f2 |
| 16-Aug-2013 |
Daniel Stenberg |
glob: error out on range overflow The new multiply() function detects range value overflows. 32bit machines will overflow on a 32bit boundary while 64bit hosts support ranges up to t
glob: error out on range overflow The new multiply() function detects range value overflows. 32bit machines will overflow on a 32bit boundary while 64bit hosts support ranges up to the full 64 bit range. Added test 1236 to verify. Bug: http://curl.haxx.se/bug/view.cgi?id=1267 Reported-by: Will Dietz
show more ...
|