Skip to content

Commit 4a68426

Browse files
author
wqingzhang
committed
x-ci*的header签入签名
1 parent a217ec6 commit 4a68426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/auth_tool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void AuthTool::FilterAndSetSignHeader(
4848
for (std::map<std::string, std::string>::const_iterator itr = headers.begin();
4949
itr != headers.end(); ++itr) {
5050
if (! not_sign_headers.count(itr->first) && (sign_headers.count(StringUtil::StringToLower(itr->first)) > 0 ||
51-
!strncmp(itr->first.c_str(), "x-cos", 5))) {
51+
!strncmp(itr->first.c_str(), "x-cos", 5) || !strncmp(itr->first.c_str(), "x-ci", 4))) {
5252
filted_req_headers->insert(std::make_pair(itr->first, itr->second));
5353
}
5454
}

0 commit comments

Comments
 (0)