mirror of
https://github.com/Mibew/mibew.git
synced 2025-04-25 15:56:07 +03:00
Remove double escape of values in the tracked path of a visitor.
Fixes #137
This commit is contained in:
parent
09ef31e750
commit
0527a9def1
@ -329,13 +329,13 @@ class HistoryController extends AbstractController
|
|||||||
|
|
||||||
$path = track_get_path($visitor);
|
$path = track_get_path($visitor);
|
||||||
|
|
||||||
$page['entry'] = htmlspecialchars($visitor['entry']);
|
$page['entry'] = $visitor['entry'];
|
||||||
$page['history'] = array();
|
$page['history'] = array();
|
||||||
ksort($path);
|
ksort($path);
|
||||||
foreach ($path as $k => $v) {
|
foreach ($path as $k => $v) {
|
||||||
$page['history'][] = array(
|
$page['history'][] = array(
|
||||||
'date' => date_to_text($k),
|
'date' => date_to_text($k),
|
||||||
'link' => htmlspecialchars($v),
|
'link' => $v,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user