-rw-r--r-- | ui-shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c index acc771b..26a6c71 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -181,17 +181,17 @@ void cgit_print_pageheader(char *title, int show_search) if (cgit_query_repo) { htmlf(" : <a href='%s'>", cgit_repourl(cgit_repo->url)); html_txt(cgit_repo->name); htmlf("</a> : %s", title); } html("</td>"); html("<td id='search'>"); if (show_search) { - html("<form method='get' href='"); + html("<form method='get' action='"); html_attr(cgit_currurl()); html("'>"); if (!cgit_virtual_root) { if (cgit_query_repo) html_hidden("r", cgit_query_repo); if (cgit_query_page) html_hidden("p", cgit_query_page); } |