From d144d65fe9d029c8ee37d52da8f5ad67ed6edaa5 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 17 Apr 2021 09:45:32 +0200 Subject: [PATCH] fix double encoding of backlash in class-names --- api/src/Framework/Ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Framework/Ajax.php b/api/src/Framework/Ajax.php index 5cab00c9d0..c990407a36 100755 --- a/api/src/Framework/Ajax.php +++ b/api/src/Framework/Ajax.php @@ -845,7 +845,7 @@ abstract class Ajax extends Api\Framework $last_direct_url =& Api\Cache::getSession(__CLASS__, 'last_direct_url'); if ($last_direct_url) { - $url = $last_direct_url; + $url = str_replace('%255C', '%5C', $last_direct_url); // fix double encoding of backlash in class-names $active_tab = self::app_from_url($last_direct_url); } else if (strpos($url, 'menuaction') > 0)