Bad html: <form> should have an action-attribute
Don't know how the href-attribute got in there... Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
62dcc05c27
commit
ef473df0b3
@ -186,7 +186,7 @@ void cgit_print_pageheader(char *title, int show_search)
|
|||||||
html("</td>");
|
html("</td>");
|
||||||
html("<td id='search'>");
|
html("<td id='search'>");
|
||||||
if (show_search) {
|
if (show_search) {
|
||||||
html("<form method='get' href='");
|
html("<form method='get' action='");
|
||||||
html_attr(cgit_currurl());
|
html_attr(cgit_currurl());
|
||||||
html("'>");
|
html("'>");
|
||||||
if (!cgit_virtual_root) {
|
if (!cgit_virtual_root) {
|
||||||
|
Loading…
Reference in New Issue
Block a user