mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-09-02 02:16:19 +02:00
escape output
This commit is contained in:
@@ -195,7 +195,7 @@ adminController.logs.get = function(req, res, next) {
|
||||
}
|
||||
|
||||
res.render('admin/advanced/logs', {
|
||||
data: data.toString()
|
||||
data: validator.escape(data.toString())
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user