From 83cd353b01660f34d6fd894d15a27fb1b3aeab4c Mon Sep 17 00:00:00 2001 From: Connor Thomson Date: Sun, 20 Sep 2026 21:09:44 -0700 Subject: Fix redirect issue --- admin/admin.php | 4 ++-- html/account.html | 4 ++-- html/footer.html | 4 ++-- html/guest.html | 4 ++-- signin/signin.php | 2 +- signup/signup.php | 2 +- signup/verify/verify.php | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/admin/admin.php b/admin/admin.php index 0a00cf3..eb85ccb 100755 --- a/admin/admin.php +++ b/admin/admin.php @@ -29,7 +29,7 @@ if (!is_admin()) { } if ($_SERVER["REQUEST_METHOD"] != "POST") { - header("Location: /admin"); + header("Location: /admin/"); exit; } @@ -84,6 +84,6 @@ try { exit; } -header("Location: /admin"); +header("Location: /admin/"); ?> diff --git a/html/account.html b/html/account.html index ccba599..4c5b97d 100755 --- a/html/account.html +++ b/html/account.html @@ -20,7 +20,7 @@ diff --git a/html/footer.html b/html/footer.html index ddcb7b4..2ca4eb6 100755 --- a/html/footer.html +++ b/html/footer.html @@ -18,6 +18,6 @@ diff --git a/html/guest.html b/html/guest.html index c37d3fa..b7d506d 100755 --- a/html/guest.html +++ b/html/guest.html @@ -16,5 +16,5 @@ along with this program. If not, see . --> -Sign-up -Sign-in +Sign-up +Sign-in diff --git a/signin/signin.php b/signin/signin.php index f7f3c23..8f2a88f 100755 --- a/signin/signin.php +++ b/signin/signin.php @@ -44,7 +44,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { if ($user['status'] == 'none') { set_user_id((int)$user['id']); - header("Location: /signup/verify"); + header("Location: /signup/verify/"); exit; } diff --git a/signup/signup.php b/signup/signup.php index 7648adf..a70ad9c 100755 --- a/signup/signup.php +++ b/signup/signup.php @@ -62,7 +62,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { $subject = "GNUfault.org Verification Code"; if (send_mail($email, $subject, (string)$code)) { - header("Location: verify"); + header("Location: verify/"); } else { echo "Failed to send"; exit; diff --git a/signup/verify/verify.php b/signup/verify/verify.php index 9e22132..a5e43af 100755 --- a/signup/verify/verify.php +++ b/signup/verify/verify.php @@ -74,7 +74,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { exit; } - header("Location: /signin"); + header("Location: /signin/"); } ?> -- cgit v1.2.3