Skip to content

Commit

Permalink
NNTP: Fix group listing links having bad URL syntax due to double sla…
Browse files Browse the repository at this point in the history
…shes
  • Loading branch information
jonas committed Sep 11, 2007
1 parent 1961a0c commit 5d5f7fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocol/nntp/response.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ add_nntp_html_line(struct string *html, struct connection *conn,
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);
break;
}
Expand Down

0 comments on commit 5d5f7fc

Please sign in to comment.