Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ed8d809b61 | ||
|
|
f954333d85 | ||
|
|
583a6f059c |
+1
-1
@@ -159,7 +159,7 @@ func main() {
|
||||
|
||||
if repoName != existingRepo {
|
||||
w.WriteHeader(http.StatusNotFound)
|
||||
_, err := w.Write([]byte(fmt.Sprintf("Repo %s not found", repoName)))
|
||||
_, err := w.Write([]byte(fmt.Sprintf("Repo %s not found", html.EscapeString(repoName))))
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user