From 1c9eaad987a6b08c890374be26a775cb97a14a47 Mon Sep 17 00:00:00 2001 From: infograf768 Date: Mon, 26 Feb 2018 04:10:37 +0100 Subject: [PATCH] Com_redirect: Differentiating utf8 old_url (#19734) --- administrator/components/com_redirect/tables/link.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administrator/components/com_redirect/tables/link.php b/administrator/components/com_redirect/tables/link.php index b8306122b6b71..3eec8aa8e7798 100644 --- a/administrator/components/com_redirect/tables/link.php +++ b/administrator/components/com_redirect/tables/link.php @@ -86,7 +86,7 @@ public function check() $query = $db->getQuery(true) ->select($db->quoteName('id')) ->from('#__redirect_links') - ->where($db->quoteName('old_url') . ' = ' . $db->quote($this->old_url)); + ->where($db->quoteName('old_url') . ' = ' . $db->quote(rawurlencode($this->old_url))); $db->setQuery($query); $xid = (int) $db->loadResult();