Thomas Bruederli
2014-12-29 bca7dc68e9f73e863e3a65173a8883c99dc09e3a
program/steps/utils/error.inc
@@ -50,9 +50,17 @@
// forbidden due to request check
else if ($ERROR_CODE == 403) {
    if ($_SERVER['REQUEST_METHOD'] == 'GET' && $rcmail->request_status == rcube::REQUEST_ERROR_URL) {
        parse_str($_SERVER['QUERY_STRING'], $url);
        $url = $rcmail->url($url, true, false, true);
        $add = "<br /><a href=\"$url\">Click here to try again.<a/>";
    }
    else {
        $add = "Please contact your server-administrator.";
    }
    $__error_title = "REQUEST CHECK FAILED";
    $__error_text  = "Access to this service was denied due to failing security checks!<br />\n"
        . "Please contact your server-administrator.";
    $__error_text  = "Access to this service was denied due to failing security checks!<br />\n$add";
}
// failed request (wrong step in URL)