1
Fork 0

Mark paths in recordings server as relative.

Since paths may contain colons, they could otherwise be mistaken for
URLs with a scheme.
This commit is contained in:
Juliusz Chroboczek 2020-09-21 23:03:03 +02:00
parent 0aa77441bd
commit cca19444d6
1 changed files with 1 additions and 1 deletions

View File

@ -565,7 +565,7 @@ func serveGroupRecordings(w http.ResponseWriter, r *http.Request, f *os.File, gr
if fi.IsDir() {
continue
}
fmt.Fprintf(w, "<tr><td><a href=\"%v\">%v</a></td><td>%d</td>",
fmt.Fprintf(w, "<tr><td><a href=\"./%v\">%v</a></td><td>%d</td>",
html.EscapeString(fi.Name()),
html.EscapeString(fi.Name()),
fi.Size(),