Skip to content

Commit

Permalink
fix: Checks all parts while parsing config params.
Browse files Browse the repository at this point in the history
  • Loading branch information
damencho committed Jun 16, 2021
1 parent f991a93 commit be73ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/features/base/util/parseURLParams.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function parseURLParams(
const param = part.split('=');
const key = param[0];

if (!key || blacklist.includes(key.split('.')[0])) {
if (!key || key.split('.').some(k => blacklist.includes(k))) {
return;
}

Expand Down

0 comments on commit be73ed9

Please # to comment.