mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 16:38:42 +00:00
ui-summary: use html_url_path()
This makes the clone urls be properly escaped. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
24d4bb3058
commit
0071aa8612
@ -24,7 +24,7 @@ static void print_url(char *base, char *suffix)
|
|||||||
if (suffix && *suffix)
|
if (suffix && *suffix)
|
||||||
base = fmt("%s/%s", base, suffix);
|
base = fmt("%s/%s", base, suffix);
|
||||||
html("<tr><td colspan='4'><a href='");
|
html("<tr><td colspan='4'><a href='");
|
||||||
html_attr(base);
|
html_url_path(base);
|
||||||
html("'>");
|
html("'>");
|
||||||
html_txt(base);
|
html_txt(base);
|
||||||
html("</a></td></tr>\n");
|
html("</a></td></tr>\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user