mirror of
https://github.com/jech/galene.git
synced 2024-11-22 16:45:58 +01:00
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:
parent
0aa77441bd
commit
cca19444d6
1 changed files with 1 additions and 1 deletions
|
@ -565,7 +565,7 @@ func serveGroupRecordings(w http.ResponseWriter, r *http.Request, f *os.File, gr
|
||||||
if fi.IsDir() {
|
if fi.IsDir() {
|
||||||
continue
|
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()),
|
||||||
html.EscapeString(fi.Name()),
|
html.EscapeString(fi.Name()),
|
||||||
fi.Size(),
|
fi.Size(),
|
||||||
|
|
Loading…
Reference in a new issue