diff options
-rw-r--r-- | templates/_group_view.tmpl | 4 | ||||
-rw-r--r-- | templates/index.tmpl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/_group_view.tmpl b/templates/_group_view.tmpl index 7b11f22..b914cf9 100644 --- a/templates/_group_view.tmpl +++ b/templates/_group_view.tmpl @@ -18,7 +18,7 @@ {{- range .subgroups }} <tr> <td> - <a href="{{ .Name }}/">{{ .Name }}</a> + <a href="{{ .Name | path_escape }}/">{{ .Name }}</a> </td> <td> {{ .Description }} @@ -43,7 +43,7 @@ {{- range .repos }} <tr> <td> - <a href=":/repos/{{ .Name }}/">{{ .Name }}</a> + <a href=":/repos/{{ .Name | path_escape }}/">{{ .Name }}</a> </td> <td> {{ .Description }} diff --git a/templates/index.tmpl b/templates/index.tmpl index 58aadc1..8d787c9 100644 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -26,7 +26,7 @@ {{- range .groups }} <tr> <td> - <a href="{{ .Name }}/">{{ .Name }}</a> + <a href="{{ .Name | path_escape }}/">{{ .Name }}</a> </td> <td> {{ .Description }} |