Skip to content
Permalink
Browse files
fix(security): prototype polution exploit (#217)
  • Loading branch information
JSMike committed Oct 20, 2022
1 parent 90c7c4b commit a93cf6f
Showing 1 changed file with 1 addition and 1 deletion.
@@ -26,7 +26,7 @@ function parseQuery(query) {
}

const queryArgs = query.split(/[,&]/g);
const result = {};
const result = Object.create(null);

queryArgs.forEach((arg) => {
const idx = arg.indexOf('=');

0 comments on commit a93cf6f

Please sign in to comment.