From 90233c0a037af064ff8beb55a68e305467a77cc9 Mon Sep 17 00:00:00 2001 From: Matchu Date: Mon, 9 Nov 2020 06:11:07 -0800 Subject: [PATCH] add items.jellyneo.net to valid trade list links --- src/app/UserItemsPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/UserItemsPage.js b/src/app/UserItemsPage.js index b852994..9ad401f 100644 --- a/src/app/UserItemsPage.js +++ b/src/app/UserItemsPage.js @@ -323,7 +323,7 @@ function MarkdownAndSafeHTML({ children }) { ALLOWED_ATTR: ["href", "class"], // URL must either start with an approved host (external link), or with a // slash or hash (internal link). - ALLOWED_URI_REGEXP: /^https?:\/\/(impress\.openneo\.net|impress-2020\.openneo\.net|www\.neopets\.com|neopets\.com)\/|^[/#]/, + ALLOWED_URI_REGEXP: /^https?:\/\/(impress\.openneo\.net|impress-2020\.openneo\.net|www\.neopets\.com|neopets\.com|items\.jellyneo\.net)\/|^[/#]/, }); return (