~jpgleeson/caint

b6594458f804047be8ca7cab6e060f2315694060 — Jack Gleeson 10 months ago 79f663f
Sanitize the commenter name as well.
1 files changed, 1 insertions(+), 1 deletions(-)

M Controllers/CommentsController.cs
M Controllers/CommentsController.cs => Controllers/CommentsController.cs +1 -1
@@ 143,7 143,7 @@ namespace caint.Controllers
            var comment = new Comment
            {
                approved = false,
                name = commentDTO.name,
                name = sanitizer.Sanitize(commentDTO.name),
                body = sanitizer.Sanitize(commentDTO.body),
                threadId = commentDTO.threadId
            };