http_aws_sigv4: fix query normalization of %2b

Reported-by: Nuno Goncalves
Fixes #20543
Closes #20550
This commit is contained in:
Daniel Stenberg 2026-02-09 14:59:39 +01:00
parent 5c250e2421
commit ee3a4dff1a
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 45 additions and 34 deletions

View file

@ -83,6 +83,12 @@ static CURLcode test_unit1979(const char *arg)
"/example space/",
"/example%20space/"
},
{
"get-plus-normalized",
true,
"/example+space/",
"/example%2Bspace/"
},
{
"get-slash-dot-slash-unnormalized",
false,