diff --git a/net/l2tp/src/www/vpn_l2tp.php b/net/l2tp/src/www/vpn_l2tp.php
index f788acca3..f10ae27d6 100644
--- a/net/l2tp/src/www/vpn_l2tp.php
+++ b/net/l2tp/src/www/vpn_l2tp.php
@@ -151,7 +151,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
write_config();
if_l2tp_configure_do();
- header(url_safe('Location: vpn_l2tp.php'));
+ header(url_safe('Location: /vpn_l2tp.php'));
exit;
}
}
@@ -159,8 +159,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$service_hook = 'l2tpd';
legacy_html_escape_form_data($pconfig);
include("head.inc");
-?>
+?>
diff --git a/net/l2tp/src/www/vpn_l2tp_users.php b/net/l2tp/src/www/vpn_l2tp_users.php
index 59522233f..bfbbaba3f 100644
--- a/net/l2tp/src/www/vpn_l2tp_users.php
+++ b/net/l2tp/src/www/vpn_l2tp_users.php
@@ -49,7 +49,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
} elseif (!empty($_POST['apply'])) {
if_l2tp_configure_do();
clear_subsystem_dirty('l2tpusers');
- header(url_safe('Location: vpn_l2tp_users.php'));
+ header(url_safe('Location: /vpn_l2tp_users.php'));
exit;
}
}
@@ -60,8 +60,8 @@ include("head.inc");
$main_buttons = array(
array('label'=>gettext("add user"), 'href'=>'vpn_l2tp_users_edit.php'),
);
-?>
+?>