File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/aws-cpp-sdk-core/source/client Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1058,15 +1058,15 @@ void AWSClient::AppendRecursionDetectionHeader(std::shared_ptr<Aws::Http::HttpRe
10581058 {
10591059 if (ch >= 0x20 && ch <= 0x7e ) // ascii chars [32-126] or [' ' to '~'] are not escaped
10601060 {
1061- xAmznTraceIdValEncodedStr << ch;
1061+ xAmznTraceIdValEncodedStr << ch;
10621062 }
10631063 else
10641064 {
1065- // A percent-encoded octet is encoded as a character triplet
1066- xAmznTraceIdValEncodedStr << ' %' // consisting of the percent character "%"
1067- << std::hex << std::setfill (' 0' ) << std::setw (2 ) << std::uppercase
1068- << (size_t ) ch // followed by the two hexadecimal digits representing that octet's numeric value
1069- << std::dec << std::setfill (' ' ) << std::setw (0 ) << std::nouppercase;
1065+ // A percent-encoded octet is encoded as a character triplet
1066+ xAmznTraceIdValEncodedStr << ' %' // consisting of the percent character "%"
1067+ << std::hex << std::setfill (' 0' ) << std::setw (2 ) << std::uppercase
1068+ << (size_t ) ch // followed by the two hexadecimal digits representing that octet's numeric value
1069+ << std::dec << std::setfill (' ' ) << std::setw (0 ) << std::nouppercase;
10701070 }
10711071 }
10721072 xAmznTraceIdVal = xAmznTraceIdValEncodedStr.str ();
You can’t perform that action at this time.
0 commit comments