diff --git a/raven.info b/raven.info index 692643b..c911090 100644 --- a/raven.info +++ b/raven.info @@ -2,7 +2,7 @@ name = Raven authentication description = Allows users to authenticate with Raven. core = 7.x package = University of Cambridge -version = 7.x-1.5-dev +version = 7.x-1.5 configure = admin/config/people/raven dependencies[] = user diff --git a/raven.module b/raven.module index f54a1a9..c72634c 100644 --- a/raven.module +++ b/raven.module @@ -142,7 +142,7 @@ function raven_login($redirect = NULL) { $redirect = $_GET['destination']; } elseif (NULL != $_SERVER['HTTP_REFERER']) { - $redirect = $_SERVER['HTTP_REFERER']; + $redirect = rawurldecode($_SERVER['HTTP_REFERER']); } else { $redirect = $base_url . '/';