New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--aws-sigv4 doesn't sign requests with query string parameters with no value correctly #8107
Comments
/cc @outscale-mgo |
I'm presently trying to find the bug, out of curiosity, which call exactly did you made (having the full URL could held debug I guess) ? |
Seems like an equals sign is not being appended here. EDIT: I think there may some other issues here. The query string is not being fully canonicalized. For example, the docs require sorting query parameters by field name in ascii order. |
thanks for the reply, I've made a Pull Request that should improve url encoding here: #7600 |
just to let you know I've update the PR, would be nice if you test it, and tell us if it work with your use case. |
I have done a few tests on that branch and it works great. |
Closes curl#7559 Closes curl#8107 Closes curl#8810 Closes curl#9717 Closes curl#10129
This request gives an error:
Removing the query string or or adding a value to the query parameter fixes the issue
curl/libcurl version
curl 7.79.1 (x86_64-w64-mingw32) libcurl/7.79.1 OpenSSL/1.1.1l (Schannel) zlib/1.2.11 brotli/1.0.9 zstd/1.5.0 libidn2/2.3.1 libssh2/1.10.0 nghttp2/1.45.1
Release-Date: 2021-09-22
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz MultiSSL NTLM SPNEGO SSL SSPI TLS-SRP zstd
operating system
windows 10; git-bash
The text was updated successfully, but these errors were encountered: