fix: prototype vulnerability in socket.io onMessage

v1.18.x
Barış Soner Uşaklı 2 years ago
parent 65284c142a
commit 963bfff3ad

@ -13,7 +13,7 @@ const logger = require('../logger');
const plugins = require('../plugins'); const plugins = require('../plugins');
const ratelimit = require('../middleware/ratelimit'); const ratelimit = require('../middleware/ratelimit');
const Namespaces = {}; const Namespaces = Object.create(null);
const Sockets = module.exports; const Sockets = module.exports;

Loading…
Cancel
Save