Skip to content

Commit 9ae003f

Browse files
committed
remove htmlspecialchars
1 parent efdba9e commit 9ae003f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

resources/lib/UnityHTTPD.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ public static function die(mixed $x = null, bool $show_user = false): never
4242
public static function redirect(?string $dest = null): never
4343
{
4444
$dest ??= getURL($_SERVER["REQUEST_URI"]);
45-
$dest = htmlspecialchars($dest);
4645
header("Location: $dest");
4746
http_response_code(302);
4847
if (CONFIG["site"]["enable_redirect_message"]) {

0 commit comments

Comments
 (0)