1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 22:57:14 +02:00

Fix ampersand handling in the legacy rating method

This commit is contained in:
Newb I the Newbd
2018-09-04 03:28:36 +02:00
committed by GitHub
parent 937af7595e
commit 37b4120c5c

View File

@@ -17,7 +17,7 @@ e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
if(!e_AJAX_REQUEST) // Legacy method. 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) if (!$qs[0] || USER == FALSE || $qs[3] > 10 || $qs[3] < 1 || strpos($qs[2], '://') !== false)
{ {