Skip to content

Commit ee98214

Browse files
committed
Fix other prototype-polluting
1 parent 222a749 commit ee98214

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

base-server/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,7 @@ export class BaseServer {
687687
}
688688

689689
performUnsubscribe(clientNodeId, action, meta) {
690+
if (action.channel === '__proto__' || clientNodeId === '__proto__') return
690691
if (this.subscribers[action.channel]) {
691692
let subscriber = this.subscribers[action.channel][clientNodeId]
692693
if (subscriber) {

0 commit comments

Comments
 (0)