Skip to content

Commit

Permalink
Merge pull request SimpleMachines#7829 from jdarwood007/fix7828
Browse files Browse the repository at this point in the history
[2.1] Ensure we urlencode the value for filtered error logs
  • Loading branch information
Sesquipedalian authored Feb 2, 2024
2 parents bc5c151 + 0bdb1ba commit 98fe7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ManageErrors.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function ViewErrorLog()
'value' => array(
'sql' => in_array($_GET['filter'], array('message', 'url', 'file')) ? base64_decode(strtr($_GET['value'], array(' ' => '+'))) : $smcFunc['db_escape_wildcard_string']($_GET['value']),
),
'href' => ';filter=' . $_GET['filter'] . ';value=' . $_GET['value'],
'href' => ';filter=' . $_GET['filter'] . ';value=' . urlencode($_GET['value']),
'entity' => $filters[$_GET['filter']]['txt']
);

Expand Down

0 comments on commit 98fe7e1

Please sign in to comment.