Skip to content
Browse files

Fixed backurl behaviour

  • Loading branch information...
1 parent 4fd7ea1 commit 2e1ce7dfe11a721d0c64a8db9244b336119dcba7 @alexhayes alexhayes committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/MemberProfilePage.php
View
2 code/MemberProfilePage.php
@@ -818,7 +818,7 @@ protected function getProfileFields($context) {
'MemberProfiles.LOGIN',
'If you already have an account you can <a href="%s">log in here</a>.'
),
- Security::Link('login') . '?BackURL=' . $BackURL
+ Security::Link('login') . '?BackURL=' . urlencode($BackURL)
) . '</p>'
));

0 comments on commit 2e1ce7d

Please sign in to comment.
Something went wrong with that request. Please try again.