You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.
In endpoint.php on line 109 you can see the following code: php $headersStr = $contentAsObject["headers"];
This key though "headers" doesn't exists. When I use the fineuploader library only "expiration" and "conditions" exists.
Somehow when I use this library for testing reasons, this doesn't trigger any errors and $headersStr will be null. But in a different implementation on production it triggers Undefined index: headers.
Can we fix this by checking the array for the header something like:
$headerStr = '';
if (isset($contentAsObject["headers"]) {
$headerStr = $contentAsObject["headers"];
}
The text was updated successfully, but these errors were encountered:
In endpoint.php on line 109 you can see the following code:
php $headersStr = $contentAsObject["headers"];
This key though "headers" doesn't exists. When I use the fineuploader library only "expiration" and "conditions" exists.
Somehow when I use this library for testing reasons, this doesn't trigger any errors and $headersStr will be null. But in a different implementation on production it triggers Undefined index: headers.
Can we fix this by checking the array for the header something like:
The text was updated successfully, but these errors were encountered: