We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 33054ac + 05d87a0 commit 2ebd99cCopy full SHA for 2ebd99c
server/php/upload.class.php
@@ -665,7 +665,7 @@ public function post($print_response = true) {
665
// Parse the Content-Range header, which has the following form:
666
// Content-Range: bytes 0-524287/2000000
667
$content_range = isset($_SERVER['HTTP_CONTENT_RANGE']) ?
668
- split('[^0-9]+', $_SERVER['HTTP_CONTENT_RANGE']) : null;
+ preg_split("/[^0-9]+/", $_SERVER['HTTP_CONTENT_RANGE']) : null;
669
$size = $content_range ? $content_range[3] : null;
670
$info = array();
671
if ($upload && is_array($upload['tmp_name'])) {
0 commit comments