From 3f6fbdcc6d2ed2e5ad17f9ae4f7d2f4bb8a3104b Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sat, 16 Jan 2016 06:15:41 -0500 Subject: [PATCH] Fix random "access to this resource is secured against CSRF" message at logout (#1490641) - this is when openssl module is not installed --- CHANGELOG | 1 + program/lib/Roundcube/rcube_utils.php | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 859e878..8fcbcf6 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,7 @@ =========================== +- Fix random "access to this resource is secured against CSRF" message at logout (#1490641) - Fix missing language name in "Add to Dictionary" request in HTML mode (#1490634) - Enable use of TLSv1.1 and TLSv1.2 for IMAP (#1490640) diff --git a/program/lib/Roundcube/rcube_utils.php b/program/lib/Roundcube/rcube_utils.php index 7b6e7ba..580f655 100644 --- a/program/lib/Roundcube/rcube_utils.php +++ b/program/lib/Roundcube/rcube_utils.php @@ -1164,7 +1164,7 @@ } } else { - $alpha = 'ABCDEFGHIJKLMNOPQERSTUVXYZabcdefghijklmnopqrtsuvwxyz0123456789+*%&?!$-_='; + $alpha = 'ABCDEFGHIJKLMNOPQERSTUVXYZabcdefghijklmnopqrtsuvwxyz0123456789,*.:?!$-_='; $random = ''; for ($i = 0; $i < $length; $i++) { -- Gitblit v1.9.1