From c6984821237ffde05fcce8828a5e507bda3fd98f Mon Sep 17 00:00:00 2001
From: lucha <lucha@paranoici.org>
Date: Fri, 27 Aug 2021 16:42:37 +0200
Subject: [PATCH] escape regex delimiters in embed.php

---
 embed.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/embed.php b/embed.php
index 8c2fe10..f524ac3 100644
--- a/embed.php
+++ b/embed.php
@@ -86,7 +86,7 @@ $noembed_site = array(
     "https?://www\\.urbandictionary\\.com/define\\.php\\?term=.+",
     "https?://(?:www\\.)?xkcd\\.com/\\d+/?",
     "https?://.*\\.deviantart\\.com/art/.*",
-    "https?://.*\\.deviantart\\.com/.*#/d.*",
+    "https?://.*\\.deviantart\\.com/.*\#/d.*",
     "https?://instagram\\.com/p/.*",
     "https?://instagr\\.am/p/.*",
     "https?://instagram\\.com/p/.*",
-- 
GitLab