Skip to content
This repository was archived by the owner on Nov 19, 2018. It is now read-only.

Commit 40bdde7

Browse files
committed
fix(endpoint-cors.php): regression that will cause issues w/ v2 signing
FineUploader/fine-uploader#1336
1 parent 1104a9f commit 40bdde7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

endpoint-cors.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function signRestRequest($headersStr) {
163163
function isValidRestRequest($headersStr, $version) {
164164
if ($version == 2) {
165165
global $expectedBucketName;
166-
$pattern = "/\/$expectedBucketName\/";
166+
$pattern = "/\/$expectedBucketName\/.+$/";
167167
}
168168
else {
169169
global $expectedHostName;

0 commit comments

Comments
 (0)