From 38089439da14cc046840ee788e3d58d9d3601e29 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 9 Sep 2022 10:21:35 -0600 Subject: [PATCH] Fix double quote too. See 163c7287e6115f06c53ea9726411cef21d597362 --- pixelegg/js/fw_pixelegg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixelegg/js/fw_pixelegg.js b/pixelegg/js/fw_pixelegg.js index cbab50e694..df9bdf1caa 100644 --- a/pixelegg/js/fw_pixelegg.js +++ b/pixelegg/js/fw_pixelegg.js @@ -139,7 +139,7 @@ jQuery('#egw_fw_topmenu_items,#egw_fw_topmenu_info_items,#egw_fw_sidemenu,#egw_fw_footer').on('click','a[href^="javascript:"]',function(ev){ ev.stopPropagation(); // do NOT execute regular event, as it will violate CSP, when handler does NOT return false // fix for Chrome 94.0.4606.54 returning all but first single quote "'" in href as "%27" :( - var matches = this.href.replace(/%27/g, "'").match(href_regexp); + var matches = this.href.replaceAll(/%27/g, "'").replaceAll(/%22/g, '"').match(href_regexp); var args = []; if (matches.length > 1 && matches[2] !== undefined) {