From 37b4120c5c9fb5a1bc40e6c6f600f39f26da3bd1 Mon Sep 17 00:00:00 2001 From: Newb I the Newbd Date: Tue, 4 Sep 2018 03:28:36 +0200 Subject: [PATCH] Fix ampersand handling in the legacy rating method --- rate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rate.php b/rate.php index 405c56013..cd09a491d 100644 --- a/rate.php +++ b/rate.php @@ -17,7 +17,7 @@ e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE); if(!e_AJAX_REQUEST) // Legacy method. { - $qs = explode("^", e_QUERY); + $qs = explode("^", str_replace('&', '&', e_QUERY)); if (!$qs[0] || USER == FALSE || $qs[3] > 10 || $qs[3] < 1 || strpos($qs[2], '://') !== false) {