From 6df32997bfd47a122e45f78976adaa3942b04154 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Sat, 8 Feb 2025 23:02:47 +0100 Subject: [PATCH] config.php: adjust youtube short referer policy (breaks on ids with a - dash) --- inc/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/config.php b/inc/config.php index 05e37a6e..e53a5aa7 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1197,7 +1197,7 @@ $config['embedding'] = array( [ '/^https?:\/\/(\w+\.)?youtube\.com\/shorts\/([a-zA-Z0-9\-_]{10,11})$/i', - '' + '' ], array( '/^https?:\/\/(\w+\.)?youtube\.com\/watch\?v=([a-zA-Z0-9\-_]{10,11})(&.+)?$/i',