summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/user.php2
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 = '/';
}