mirror of
https://github.com/curl/curl.git
synced 2025-02-05 14:30:10 +08:00
Samuel Listopad fixed -E to support "C:/path" (with forward slash) as well.
This commit is contained in:
parent
d5be114c07
commit
497cc6bfaf
@ -1756,7 +1756,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
||||
#ifdef WIN32
|
||||
if(ptr &&
|
||||
(ptr == &nextarg[1]) &&
|
||||
(nextarg[2] == '\\') &&
|
||||
(nextarg[2] == '\\' || nextarg[2] == '/') &&
|
||||
(isalpha((int)nextarg[0])) )
|
||||
/* colon in the second column, followed by a backslash, and the
|
||||
first character is an alphabetic letter:
|
||||
|
Loading…
Reference in New Issue
Block a user