From a45106b65f664c9e997a8de901ce39d50cc6d8e5 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Fri, 27 Dec 2024 19:59:02 +0100 Subject: [PATCH] pages.php: adjust redirect on mod_ip --- inc/mod/pages.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inc/mod/pages.php b/inc/mod/pages.php index f743528f..3e0967f1 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -911,10 +911,11 @@ function mod_ip(Context $ctx, $ip, string $encoded_cursor = null) { return; } + // Temporary Redirect so to not to break the note and unban system. if (empty($encoded_cursor)) { - \header("Location: ?/user_posts/ip/$ip", true, 308); + \header("Location: ?/user_posts/ip/$ip", true, 307); } else { - \header("Location: ?/user_posts/ip/$ip/cursor/$encoded_cursor", true, 308); + \header("Location: ?/user_posts/ip/$ip/cursor/$encoded_cursor", true, 307); } }