mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
net/pptp: favour absolute redirects
This commit is contained in:
parent
c956532182
commit
097614d6ef
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue