From c13eb798f7eb33dbaa98fdd09ddb5374c5fbf0fc Mon Sep 17 00:00:00 2001 From: Rafael Lima Date: Wed, 2 Aug 2023 01:38:49 +0200 Subject: tdf#156573 Correctly resolve HID with "?" character Change-Id: I1642e5c56d0d67fe4170358a61ec786f313029e1 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/155184 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- help3xsl/index2.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'help3xsl/index2.html') diff --git a/help3xsl/index2.html b/help3xsl/index2.html index c08335e08c..2394c084e1 100644 --- a/help3xsl/index2.html +++ b/help3xsl/index2.html @@ -45,6 +45,8 @@ window.location.replace(lang + '/' + defaultFile + '?System=' + system + '&DbPAR=' + module); } var bookmark = target.slice(target.indexOf('/') + 1, target.length); + // tdf#156573 Replace character "?" by "%3F" + bookmark = bookmark.replace("?", "%3F"); var file = hid2fileMap[bookmark]; // check first if a root bookmark @@nowidget@@ can be used if (file === undefined) { -- cgit