aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/Utils.php
diff options
context:
space:
mode:
authorArthur <arthur@hoa.ro>2015-09-02 17:55:11 +0200
committerArthur <arthur@hoa.ro>2015-09-02 17:55:11 +0200
commit67ee1435f8a92894b6bf08404b5d26a3141c0b9e (patch)
tree5756a3816ca0fbeb4036c632c369406aef86f29a /application/Utils.php
parent53cc2b93b85a080c6c06bc3633fb454241fc5699 (diff)
parent4d30975a06354c5a01d2dfdfc5441e160ef4073e (diff)
downloadShaarli-67ee1435f8a92894b6bf08404b5d26a3141c0b9e.tar.gz
Shaarli-67ee1435f8a92894b6bf08404b5d26a3141c0b9e.tar.zst
Shaarli-67ee1435f8a92894b6bf08404b5d26a3141c0b9e.zip
Merge pull request #336 from ArthurHoaro/login-hotfix0.5.3
Allow uppercase letters in PHP sessionid format
Diffstat (limited to 'application/Utils.php')
-rwxr-xr-x[-rw-r--r--]application/Utils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/Utils.php b/application/Utils.php
index fa18f158..cb03f11c 100644..100755
--- a/application/Utils.php
+++ b/application/Utils.php
@@ -156,7 +156,7 @@ function is_session_id_valid($sessionId)
156 return false; 156 return false;
157 } 157 }
158 158
159 if (!preg_match('/^[a-z0-9]{2,32}$/', $sessionId)) { 159 if (!preg_match('/^[a-z0-9]{2,32}$/i', $sessionId)) {
160 return false; 160 return false;
161 } 161 }
162 162