This repository was archived by the owner on Nov 19, 2018. It is now read-only.
This repository was archived by the owner on Nov 19, 2018. It is now read-only.
Undefined index: headers endpoint.php line 109 #11
Open
Description
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"];
}
Metadata
Metadata
Assignees
Labels
No labels