From a024baeef6080f82ad3c22764df34ae6d783b276 Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 10 Jun 2021 09:06:28 -0600 Subject: [PATCH] * Api: Clear initial load URL after using it, so F5 takes you to the app's normal entry point (cherry picked from commit 9219536c2fe98f729aff10976fc0567062eb0784) --- api/src/Framework/Ajax.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/src/Framework/Ajax.php b/api/src/Framework/Ajax.php index f935be73be..6b54babb18 100755 --- a/api/src/Framework/Ajax.php +++ b/api/src/Framework/Ajax.php @@ -959,6 +959,7 @@ abstract class Ajax extends Api\Framework { $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); + Api\Cache::unsetSession(__CLASS__,'last_direct_url'); } else if (strpos($url, 'menuaction') > 0) {