Skip to content

Commit

Permalink
fix: security problem (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait authored Nov 7, 2022
1 parent d95b8b5 commit 4504e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parseQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('=');
Expand Down

0 comments on commit 4504e34

Please sign in to comment.