[fix]
This commit is contained in:
parent
749d6ac386
commit
da45a53134
14
index.php
14
index.php
|
@ -464,16 +464,16 @@ function getVideoInfo($file, $dir, $fullListFile) {
|
||||||
$info = array(
|
$info = array(
|
||||||
'hash' => $file,
|
'hash' => $file,
|
||||||
'title' => $postInfo['title'],
|
'title' => $postInfo['title'],
|
||||||
'originalTitle' => htmlentities($jsonInfo -> stitle),
|
'originalTitle' => htmlentities($jsonInfo -> stitle, ENT_QUOTES, "UTF-8"),
|
||||||
'url' => $postInfo['url'],
|
'url' => $postInfo['url'],
|
||||||
'desc' => $postInfo['desc'],
|
'desc' => $postInfo['desc'],
|
||||||
'originalDesc' => htmlentities($jsonInfo -> description),
|
'originalDesc' => htmlentities($jsonInfo -> description, ENT_QUOTES, "UTF-8"),
|
||||||
'uploadDateSort' => $postInfo['uploadDateSort'],
|
'uploadDateSort' => $postInfo['uploadDateSort'],
|
||||||
'uploadDate' => htmlentities($jsonInfo -> upload_date),
|
'uploadDate' => htmlentities($jsonInfo -> upload_date, ENT_QUOTES, "UTF-8"),
|
||||||
'format' => htmlentities($jsonInfo -> format),
|
'format' => htmlentities($jsonInfo -> format, ENT_QUOTES, "UTF-8"),
|
||||||
'ext' => htmlentities($jsonInfo -> ext),
|
'ext' => htmlentities($jsonInfo -> ext, ENT_QUOTES, "UTF-8"),
|
||||||
'duration' => htmlentities($time),
|
'duration' => htmlentities($time, ENT_QUOTES, "UTF-8"),
|
||||||
'size' => htmlentities($size),
|
'size' => htmlentities($size, ENT_QUOTES, "UTF-8"),
|
||||||
'via' => $postInfo['via'],
|
'via' => $postInfo['via'],
|
||||||
'licence' => $postInfo['licence']
|
'licence' => $postInfo['licence']
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue