VictoriaMetrics/lib/awsapi
Nikolay 909709346e
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-09-30 07:49:18 +03:00
..
config_test.go {lib/promscrape,app/vmagent}: adds sigv4 support for vmagent remoteWrite (#2458) 2022-05-04 20:28:37 +03:00
config.go all: subsitute ioutil.ReadAll with io.ReadAll 2022-08-22 00:16:04 +03:00
sign_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-09-30 07:49:18 +03:00