From 93d752dd102d130a5d8afd8e008a40fe1f2aa57a Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sat, 30 May 2020 03:15:29 -0400 Subject: [PATCH] Fix replay URLs in manage mode --- replays/battle.php | 1 + 1 file changed, 1 insertion(+) diff --git a/replays/battle.php b/replays/battle.php index 0ebea091e..60ab10dc2 100644 --- a/replays/battle.php +++ b/replays/battle.php @@ -56,6 +56,7 @@ if (!$replay || ($replay['private'] === 3 && !$manage)) { include '404.php'; die(); } +$fullid = $id . ($replay['password'] ? '-' . $replay['password'] . 'pw' : ''); if (@$replay['private']) { header('X-Robots-Tag: noindex');