diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-09-28 17:15:12 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-09-28 17:15:12 +0200 |
commit | 5cc91f8cd4b9f1a3a2b17d5e5bf7606acf0fcd07 (patch) | |
tree | a1ad0398ad693aa32ca4164e8c5d77937b05e354 /application | |
parent | c97c35162f5deee42bc384482d4673623e20ecc8 (diff) |
Fix login redirect with multipate URL
The - from m-ID was missing in the regex.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r-- | application/controllers/user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/user.php b/application/controllers/user.php index eca0b7da3..c2ddf116b 100644 --- a/application/controllers/user.php +++ b/application/controllers/user.php @@ -47,7 +47,7 @@ class User extends MY_Controller { $redirect_uri = $this->input->get("redirect_uri"); $this->muser->require_session(); - if (!preg_match('/^[0-9a-zA-Z\/_]*$/', $redirect_uri)) { + if (!preg_match('/^[0-9a-zA-Z\/_-]*$/', $redirect_uri)) { $redirect_uri = '/'; } |