From f5207342b5cb2143e94c8bafe73c326e08bfd40f Mon Sep 17 00:00:00 2001 From: Julian Hurst Date: Wed, 25 Jan 2023 15:44:29 +0100 Subject: Query string is removed from action in forms with method="GET" Using a hidden input instead as intended by html5 spec: Let destination be a new URL that is equal to the action except that its component is replaced by query (adding a U+003F QUESTION MARK character (?) if appropriate). --- templates/user.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/templates/user.html b/templates/user.html index 9a3a333..4180407 100644 --- a/templates/user.html +++ b/templates/user.html @@ -47,11 +47,8 @@
- {{if ne .UserImpersonation ""}} -
- {{else}} - {{end}} +
{{end}} -- cgit v1.2.3