Be explicit that per-host pages are directories.
authorEmil Mikulic <emikulic@gmail.com>
Sat, 4 Jun 2011 11:31:40 +0000 (21:31 +1000)
committerEmil Mikulic <emikulic@gmail.com>
Sat, 4 Jun 2011 14:00:31 +0000 (00:00 +1000)
Browsers get confused by double colons in v6 addresses.

hosts_db.c

index e31605f..d72550e 100644 (file)
@@ -315,7 +315,7 @@ format_row_host(struct str *buf, const struct bucket *b,
 
    str_appendf(buf,
       "<tr class=\"%s\">\n"
-      " <td><a href=\"%s/\">%s</a></td>\n"
+      " <td><a href=\"./%s/\">%s</a></td>\n"
       " <td>%s</td>\n",
       css_class,
       ip, ip,