From 5e86ee5ed7133fac94b8d7381b246bedf8f93853 Mon Sep 17 00:00:00 2001 From: Mario Areias Date: Mon, 21 Mar 2022 15:17:55 +1100 Subject: [PATCH] Added other variants of the __proto__ string --- test/parse.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/parse.js b/test/parse.js index 99be301..4e46e40 100644 --- a/test/parse.js +++ b/test/parse.js @@ -193,6 +193,11 @@ U= assert.throws(function () { parseFixture('__proto__lengthpolluted'); }); + + // adding backslash should still be protected. + assert.throws(function () { + parseFixture('_\_proto_\_lengthpolluted'); + }); }); });