Permalink
Browse files

escape post content

  • Loading branch information...
barisusakli committed Sep 4, 2018
1 parent c7f3b76 commit 446b125c835dc508553a9aab89d0d33a6affdac7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/controllers/admin/postqueue.js
@@ -81,7 +81,7 @@ function getQueuedPosts(ids, callback) {
});
async.map(postData, function (postData, next) {
postData.data.rawContent = postData.data.content;
postData.data.rawContent = validator.escape(String(postData.data.content));
postData.data.title = validator.escape(String(postData.data.title));
async.waterfall([
function (next) {

0 comments on commit 446b125

Please sign in to comment.