changeset 4192:1be37846314a

mod_welcome_page/html: Fix form target if path isn't / action="/" only works if http_paths.welcome_page="/" while "" should work as long as the GET and POST URLs are the same.
author Kim Alvefur <zash@zash.se>
date Mon, 12 Oct 2020 18:38:36 +0200
parents e2728b540223
children 8d1e996034ee
files mod_welcome_page/html/index.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_welcome_page/html/index.html	Mon Oct 12 18:04:05 2020 +0200
+++ b/mod_welcome_page/html/index.html	Mon Oct 12 18:38:36 2020 +0200
@@ -40,7 +40,7 @@
 			{message.text}
 		</div>}
 
-		<form method="POST" action="/" class="d-inline">
+		<form method="POST" action="" class="d-inline">
 		<button class="btn btn-primary btn-lg mb-2" type="submit">Create account</button>
 		</form>