From 7237899e77609a25d9c60128a3a7676a794f9d92 Mon Sep 17 00:00:00 2001 From: bill bittner Date: Mon, 30 Jul 2018 10:02:08 -0700 Subject: [PATCH] fixed regex --- server/controllers/api/oEmbed/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/controllers/api/oEmbed/index.js b/server/controllers/api/oEmbed/index.js index 606e1026..7f314b96 100644 --- a/server/controllers/api/oEmbed/index.js +++ b/server/controllers/api/oEmbed/index.js @@ -13,9 +13,9 @@ const getOEmbedData = (req, res) => { '([^:/?#]+:\/\/)'+ '([^/?#]*)' + '(\/)' + - '([^?#]*)' + + '([^/?#]*)' + '(\/)' + - '([^?#]*)' + '([^/?#]*)' ); const [proto, protocol, domain, slashOne, paramOne, slashTwo, paramTwo] = componentsRegex .exec(url)