]> git.cameronkatri.com Git - cgit.git/commitdiff
ui-diff: action='.' is not correct
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 12 May 2016 19:38:59 +0000 (21:38 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 12 May 2016 19:39:06 +0000 (21:39 +0200)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
ui-diff.c

index 52ed9426747088c21cd0de74b0f8efe58aceb073..edee79339b12d658e30041f0c2b7ff0cb1229b9b 100644 (file)
--- 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>");