From 3f6fbdcc6d2ed2e5ad17f9ae4f7d2f4bb8a3104b Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sat, 16 Jan 2016 12:15:41 +0100 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 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 859e87838..8fcbcf62f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,7 @@ CHANGELOG Roundcube Webmail =========================== +- 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 7b6e7baac..580f65578 100644 --- a/program/lib/Roundcube/rcube_utils.php +++ b/program/lib/Roundcube/rcube_utils.php @@ -1164,7 +1164,7 @@ class rcube_utils } } else { - $alpha = 'ABCDEFGHIJKLMNOPQERSTUVXYZabcdefghijklmnopqrtsuvwxyz0123456789+*%&?!$-_='; + $alpha = 'ABCDEFGHIJKLMNOPQERSTUVXYZabcdefghijklmnopqrtsuvwxyz0123456789,*.:?!$-_='; $random = ''; for ($i = 0; $i < $length; $i++) {