Skip to content

Commit

Permalink
Merge pull request #52 from misd-service-development/1.6
Browse files Browse the repository at this point in the history
Decode URL to send to Raven
  • Loading branch information
andybatey authored Mar 12, 2018
2 parents a474d6b + 95c4e43 commit 96aa578
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion raven.info
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion raven.module
Original file line number Diff line number Diff line change
Expand Up @@ -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 . '/';
Expand Down

0 comments on commit 96aa578

Please sign in to comment.