mirror of
https://github.com/curl/curl.git
synced 2026-07-23 15:27:18 +03:00
glob: fix [a-c] globbing regression
Brought inee4f76606cAdded test case 1280 to verify Reported-by: Dave Reisner Bug:ee4f76606c (commitcomment-19823146)
This commit is contained in:
parent
f82bbe01c8
commit
8c630ef059
3 changed files with 63 additions and 0 deletions
|
|
@ -213,6 +213,9 @@ static CURLcode glob_range(URLGlob *glob, char **patternp,
|
|||
else if(end_c != ']')
|
||||
/* then this is wrong */
|
||||
rc = 0;
|
||||
else
|
||||
/* end_c == ']' */
|
||||
pattern += 4;
|
||||
}
|
||||
|
||||
*posp += (pattern - *patternp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue