mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Bulk embed youtube videos
This commit is contained in:
parent
1c40d20663
commit
39a6a3d0e0
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ if (!User::canUpload()) {
|
|||
|
||||
foreach ($_POST['itemsToSave'] as $value) {
|
||||
foreach ($value as $key => $value2) {
|
||||
$value[$key] = preg_replace("/\\x[^A-Fa-f0-9]{2}/", '', $value2);
|
||||
$value[$key] = preg_replace("/\\\x[^A-Fa-f0-9]{2}/", '', $value2);
|
||||
$value[$key] = xss_esc($value2);
|
||||
}
|
||||
//$info = url_get_contents($config->getEncoderURL() . "getLinkInfo/" . base64_encode($value));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue