1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-22 12:07:04 +00:00

Take care of more TODO flagged code

- Improve TODO comments, mention related issues
- Export ErrNotWritable, move it to datastore.go
- Improve logging of corrupt mailbox GOB file
This commit is contained in:
James Hillyerd
2016-02-28 16:14:37 -08:00
parent 075aa0dd38
commit 982ad857e8
6 changed files with 21 additions and 18 deletions

View File

@@ -251,7 +251,7 @@ func MailboxHTML(w http.ResponseWriter, req *http.Request, ctx *httpd.Context) (
"ctx": ctx,
"name": name,
"message": message,
// TODO: It is not really safe to render, need to sanitize.
// TODO It is not really safe to render, need to sanitize, issue #5
"body": template.HTML(mime.HTML),
})
}