BUG/MINOR: stats: fix a typo on a closing tag for a server tracking another one
The "via" column includes a link to the tracked server but instead of closing
the link with a </a> tag, a new tag is opened.
This typo should also be backported to 1.4
diff --git a/src/dumpstats.c b/src/dumpstats.c
index e0c21b6..b26ec25 100644
--- a/src/dumpstats.c
+++ b/src/dumpstats.c
@@ -2984,11 +2984,11 @@
else if (sv != ref) {
if (sv->state & SRV_MAINTAIN)
chunk_appendf(&trash,
- "<td class=ac colspan=3><a class=lfsb href=\"#%s/%s\"><a></td>",
+ "<td class=ac colspan=3><a class=lfsb href=\"#%s/%s\"></a></td>",
ref->proxy->id, ref->id);
else
chunk_appendf(&trash,
- "<td class=ac colspan=3><a class=lfsb href=\"#%s/%s\">via %s/%s<a></td>",
+ "<td class=ac colspan=3><a class=lfsb href=\"#%s/%s\">via %s/%s</a></td>",
ref->proxy->id, ref->id, ref->proxy->id, ref->id);
}
else