net/pptp: favour absolute redirects

This commit is contained in:
Franco Fichtner 2016-09-02 10:10:17 +02:00
parent c956532182
commit 097614d6ef
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
} elseif (!empty($_POST['apply'])) {
if_pptp_configure_do();
clear_subsystem_dirty('pptpusers');
header(url_safe('Location: vpn_pptp_users.php'));
header(url_safe('Location: /vpn_pptp_users.php'));
exit;
}

View file

@ -133,7 +133,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
pptpd_users_sort();
write_config();
if_pptp_configure_do();
header(url_safe('Location: vpn_pptp_users.php'));
header(url_safe('Location: /vpn_pptp_users.php'));
exit;
}
}