From 83f72ad97ccfdbc714eefa7cfc49b708242f25ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Monterisi?= Date: Thu, 16 Jan 2025 08:45:57 +0100 Subject: [PATCH] fix broken tooltip when loading a ticket preview (ticket listing) fixes #18680 --- src/Html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Html.php b/src/Html.php index f29e39519e4..3dfa0e7e68f 100644 --- a/src/Html.php +++ b/src/Html.php @@ -3383,7 +3383,7 @@ class='dropdown_tooltip {$param['link_class']}'"; if (!is_null($param['url'])) { $js .= " ajax: { - url: '" . htmlescape($CFG_GLPI['root_doc'] . $param['url']) . "', + url: " . json_encode($CFG_GLPI['root_doc'] . $param['url']) . ", type: 'GET', data: {}, },