提交的内容

This commit is contained in:
2025-05-12 15:45:02 +08:00
parent 629c4750da
commit b48c692775
3043 changed files with 34732 additions and 60810 deletions

5
vendor/qcloud/cos-sdk-v5/src/Signature.php vendored Executable file → Normal file
View File

@ -32,7 +32,6 @@ class Signature {
'content-length',
'content-md5',
'content-type',
'expect',
'expires',
'host',
'if-match',
@ -42,6 +41,7 @@ class Signature {
'origin',
'range',
'transfer-encoding',
'pic-operations',
];
date_default_timezone_set($this->options['timezone']);
}
@ -53,6 +53,9 @@ class Signature {
if ( startWith( $header, 'x-cos-' ) ) {
return true;
}
if ( startWith( $header, 'x-ci-' ) ) {
return true;
}
if ( in_array( $header, $this->signHeader ) ) {
return true;
}