From mboxrd@z Thu Jan 1 00:00:00 1970 From: john at keeping.me.uk (John Keeping) Date: Wed, 11 May 2016 19:50:02 +0100 Subject: [PATCH 4/5] ui: Fix bad value for attribute action on form elements In-Reply-To: <1462989858-15825-5-git-send-email-wub@partyvan.eu> References: <1462989858-15825-1-git-send-email-wub@partyvan.eu> <1462989858-15825-5-git-send-email-wub@partyvan.eu> Message-ID: <20160511185002.GE4296@serenity.lan> On Wed, May 11, 2016 at 06:04:17PM +0000, Juuso Lapinlampi wrote: > The action attribute must "a valid non-empty URL potentially surrounded > by spaces." > > See: https://html.spec.whatwg.org/#the-form-element Makes sense (although missing sign-off again): Reviewed-by: John Keeping > --- > 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("