We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a217ec6 commit 4a68426Copy full SHA for 4a68426
src/util/auth_tool.cpp
@@ -48,7 +48,7 @@ void AuthTool::FilterAndSetSignHeader(
48
for (std::map<std::string, std::string>::const_iterator itr = headers.begin();
49
itr != headers.end(); ++itr) {
50
if (! not_sign_headers.count(itr->first) && (sign_headers.count(StringUtil::StringToLower(itr->first)) > 0 ||
51
- !strncmp(itr->first.c_str(), "x-cos", 5))) {
+ !strncmp(itr->first.c_str(), "x-cos", 5) || !strncmp(itr->first.c_str(), "x-ci", 4))) {
52
filted_req_headers->insert(std::make_pair(itr->first, itr->second));
53
}
54
0 commit comments