aws / aws-sdk-cpp

AWS SDK for C++
Apache License 2.0
1.97k stars 1.06k forks source link

SignatureDoesNotMatch error when metadata tag value has double whitespace #670

Closed crusader-mike closed 7 years ago

crusader-mike commented 7 years ago

This problem happens only with StorageGrid (Amazon S3 and CleverSafe behave as expected), but I'll mention it here -- maybe someone saw it before and point me in right direction.

Problem: whenever PutObject request has metadata tag with value that has two consecutive white space chars (ASCII code 0x20) -- request fails with 'SignatureDoesNotMatch'.

Platform: Windows 7 and higher (will check Linux build and update later) Compiler: MSVC 2015 CMake arguments: official nuget package v1.1.50 Can you provide a TRACE level log?: don't have it right now, but can generate on request

crusader-mike commented 7 years ago

I'll close it since it is very likely StorageGrid's bug.