1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
{