VictoriaMetrics/lib/awsapi
Nikolay b7748841f5
lib/awsapi: fixes sign encoding (#3183)
* lib/awsapi: fixes sign encoding

previously white spaces at filter were incorrectly encoded
encoding tip was copied from aws signing lib
For example, the space character must be encoded as %20 (not using '+', as some encoding schemes do)
https://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3171

* Update lib/awsapi/sign.go

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2022-10-06 15:31:29 +03:00
..
config.go fix assume role when running in ECS. (#2876) 2022-08-08 15:35:56 +03:00
config_test.go {lib/promscrape,app/vmagent}: adds sigv4 support for vmagent remoteWrite (#2458) 2022-05-04 20:28:37 +03:00
sign.go lib/awsapi: fixes sign encoding (#3183) 2022-10-06 15:31:29 +03:00
sign_test.go {lib/promscrape,app/vmagent}: adds sigv4 support for vmagent remoteWrite (#2458) 2022-05-04 20:28:37 +03:00