diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-06-07 15:59:49 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-06-07 15:59:49 +0000 |
commit | 23423b46fb7731eaa0ad280eff9b182ef7cfb548 (patch) | |
tree | 39b13dbfad3626e1fcbaa4f61a09ccf1fc0039a6 /modules/user | |
parent | 2fc741867d6e1486412bb7c8ad8ac362f47429a8 (diff) | |
download | brdo-23423b46fb7731eaa0ad280eff9b182ef7cfb548.tar.gz brdo-23423b46fb7731eaa0ad280eff9b182ef7cfb548.tar.bz2 |
- Check the destrination URL before redirecting.
Diffstat (limited to 'modules/user')
-rw-r--r-- | modules/user/user.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index c9e645199..e7935c7c3 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -605,7 +605,7 @@ function user_login($edit = array(), $msg = "") { ** Redirect the user to the page he logged on from. */ - drupal_goto($edit["destination"]); + drupal_goto(check_url($edit["destination"])); } else { if (!$error) { |