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
This commit is contained in:
Ralf Becker 2014-01-18 17:48:26 +00:00
parent 5a8b145b7f
commit 7d90086ae4

View File

@ -100,7 +100,7 @@ if (isset($_GET['menuaction']))
{ {
throw new egw_exception_assertion_failed("JSON Data contains script tags. Aborting..."); 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(); egw_json_response::get();
common::egw_exit(); common::egw_exit();
} }