Change /en/confirm to PHP_SELF

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2023-08-26 03:22:18 -04:00
parent 54d1f8f30b
commit 94b2a3f5ac
Signed by untrusted user: cobra
GPG Key ID: 4FD8F812083FF6F9
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
if (empty($_GET['action']) || ($_GET['action'] != "sub" && $_GET['action'] != "unsub") || !empty($err)) {
?>
<div class=h><h1 id=list>Mailing List</h1> <a aria-hidden=true href=#list>#list</a></div>
<form method="get" action="/en/confirm">
<form method="get" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]) ?>">
<p>E-mail <span class="red">* <?php echo $err; ?></span>
<input type="text" name="email"></p>