mirror of
https://github.com/curl/curl.git
synced 2026-07-26 20:57:18 +03:00
aws-sigv4: allow a blank string
make sure a zero length sigv4 gets the default value Reported-by: Arian van Putten Fixes #17176 Closes #17178
This commit is contained in:
parent
ae0ff69f7a
commit
2ab6b9d405
2 changed files with 4 additions and 3 deletions
|
|
@ -2005,7 +2005,7 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */
|
|||
break;
|
||||
case C_AWS_SIGV4: /* --aws-sigv4 */
|
||||
config->authtype |= CURLAUTH_AWS_SIGV4;
|
||||
err = getstr(&config->aws_sigv4, nextarg, DENY_BLANK);
|
||||
err = getstr(&config->aws_sigv4, nextarg, ALLOW_BLANK);
|
||||
break;
|
||||
case C_STDERR: /* --stderr */
|
||||
tool_set_stderr_file(global, nextarg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue