1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Merge pull request #3416 from newbthenewbd/patch-1

Fix ampersand handling in the legacy rating method
This commit is contained in:
Cameron 2018-09-04 09:07:47 -07:00 committed by GitHub
commit a6cb884277
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)
{