mirror of https://github.com/BOINC/boinc.git
web: fix bug when reply to forum post while not logged in
Need to use urlencode() when redirecting
This commit is contained in:
parent
79a9d2740a
commit
e9ecc2cf67
|
@ -23,7 +23,8 @@ check_get_args(array("next_url"));
|
||||||
|
|
||||||
$next_url = sanitize_local_url(get_str('next_url', true));
|
$next_url = sanitize_local_url(get_str('next_url', true));
|
||||||
|
|
||||||
redirect_to_secure_url("login_form.php?next_url=$next_url");
|
$u = "login_form.php?next_url=".urlencode($next_url);
|
||||||
|
redirect_to_secure_url($u);
|
||||||
|
|
||||||
$user = get_logged_in_user(false);
|
$user = get_logged_in_user(false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue