1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

NNTP: Fix group listing links having bad URL syntax due to double slashes

This commit is contained in:
Jonas Fonseca 2007-09-11 13:50:17 +02:00
parent 1961a0ca50
commit 5d5f7fc078

View File

@ -312,7 +312,7 @@ add_nntp_html_line(struct string *html, struct connection *conn,
desc = ""; desc = "";
} }
add_format_to_string(html, "<dt><a href=\"%s/%s\">%s</a></dt><dd>%s</dd>\n", add_format_to_string(html, "<dt><a href=\"%s%s\">%s</a></dt><dd>%s</dd>\n",
struri(conn->uri), line, line, desc); struri(conn->uri), line, line, desc);
break; break;
} }