From mboxrd@z Thu Jan 1 00:00:00 1970 From: wub at partyvan.eu (Juuso Lapinlampi) Date: Wed, 11 May 2016 18:04:17 +0000 Subject: [PATCH 4/5] ui: Fix bad value for attribute action on form elements In-Reply-To: <1462989858-15825-1-git-send-email-wub@partyvan.eu> References: <1462989858-15825-1-git-send-email-wub@partyvan.eu> Message-ID: <1462989858-15825-5-git-send-email-wub@partyvan.eu> The action attribute must "a valid non-empty URL potentially surrounded by spaces." See: https://html.spec.whatwg.org/#the-form-element --- ui-shared.c | 2 +- ui-stats.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui-shared.c b/ui-shared.c index 9a38aa9..0b7fdec 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -940,7 +940,7 @@ static void print_header(void) cgit_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL); if (ctx.env.authenticated) { html(""); - html("
\n"); + html("\n"); cgit_add_hidden_formfields(0, 1, ctx.qry.page); html("