mirror of
https://github.com/curl/curl.git
synced 2026-08-24 15:23:36 +03:00
tool_getparam: accept a blank -w ""
Added test 468 to verify.
Regression from 07bcae89d5 (shipped in 8.6.0)
Reported-by: Thomas Pyle
Fixes #13144
Closes #13145
This commit is contained in:
parent
b6006381fb
commit
6bd4ca0ef6
3 changed files with 62 additions and 2 deletions
|
|
@ -2658,7 +2658,7 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */
|
|||
warnf(global, "Failed to read %s", fname);
|
||||
}
|
||||
else
|
||||
err = getstr(&config->writeout, nextarg, DENY_BLANK);
|
||||
err = getstr(&config->writeout, nextarg, ALLOW_BLANK);
|
||||
break;
|
||||
case C_PREPROXY: /* --preproxy */
|
||||
err = getstr(&config->preproxy, nextarg, DENY_BLANK);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue