about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-05-12 21:38:59 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-05-12 21:39:06 +0200
commit21bf30b043c5bcbf4bb92d7e79cb642ab9c2287d (patch)
tree7edd6e5cad9625e7b54b66191ee04792539b62a4
parentforms: action should not be empty (diff)
downloadcgit-pink-21bf30b043c5bcbf4bb92d7e79cb642ab9c2287d.tar.gz
cgit-pink-21bf30b043c5bcbf4bb92d7e79cb642ab9c2287d.zip
ui-diff: action='.' is not correct
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--ui-diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-diff.c b/ui-diff.c
index 52ed942..edee793 100644
--- a/ui-diff.c
+++ b/ui-diff.c
@@ -340,7 +340,7 @@ void cgit_print_diff_ctrls(void)
 
 	html("<div class='cgit-panel'>");
 	html("<b>diff options</b>");
-	html("<form method='get' action='.'>");
+	html("<form method='get'>");
 	cgit_add_hidden_formfields(1, 0, ctx.qry.page);
 	html("<table>");
 	html("<tr><td colspan='2'/></tr>");