mirror of
https://github.com/jech/galene.git
synced 2024-11-09 02:05:59 +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() {
|
||||
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(),
|
||||
|
|
Loading…
Reference in a new issue