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

Commit 1104a9f

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

endpoint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function signRestRequest($headersStr) {
135135
function isValidRestRequest($headersStr, $version) {
136136
if ($version == 2) {
137137
global $expectedBucketName;
138-
$pattern = "/\/$expectedBucketName\/";
138+
$pattern = "/\/$expectedBucketName\/.+$/";
139139
}
140140
else {
141141
global $expectedHostName;

0 commit comments

Comments
 (0)