From 7d90086ae47a183446770795a0397438408b3cd1 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 18 Jan 2014 17:48:26 +0000 Subject: [PATCH] fixed caching in a couple of places: - user.php was not reloaded if (session-)preferences changed eg. language via select-box in login, because we used Expires header, but did not force a different url - (user|config|images).php now has etag on url, to force reload by browser as we use an Expires header (changed images still need Admin >> clear cache to rebuild image cache) - preferences are now loaded via a cachable GET request --- json.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json.php b/json.php index 02c6924f2d..ff1d970db2 100644 --- a/json.php +++ b/json.php @@ -100,7 +100,7 @@ if (isset($_GET['menuaction'])) { throw new egw_exception_assertion_failed("JSON Data contains script tags. Aborting..."); } - $json->parseRequest($_GET['menuaction'], $_POST['json_data']); + $json->parseRequest($_GET['menuaction'], $_REQUEST['json_data']); egw_json_response::get(); common::egw_exit(); }