From 2e884f3162771880a2a5260713d6b7d1aa25bc6f Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sun, 5 Oct 2008 19:25:47 +0200 Subject: ui-shared: use html_url_path() to get properly escaped url in form action When a repo uses an url with e.g. '#' or '?' characters this needs to be properly escaped when used as action in a form tag. Signed-off-by: Lars Hjemli --- ui-shared.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui-shared.c') diff --git a/ui-shared.c b/ui-shared.c index f858ab6..1e12529 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -649,8 +649,8 @@ void cgit_print_pageheader(struct cgit_context *ctx) html(""); html("
\n"); add_hidden_formfields(1, 0, "log"); html("