Skip to content

Commit a8c47d4

Browse files
committed
linting fix
1 parent b74dcaa commit a8c47d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/utils/queryparams.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ module.exports = (req, url) => {
3333

3434
for (const [name, value] of searchParams.entries()) {
3535
// Split parameter name into segments by dot or bracket notation
36+
/* eslint-disable-next-line */
3637
const segments = name.split(/[\.\[\]]+/).filter(Boolean)
37-
38+
3839
// Check each segment against the dangerous properties set
3940
if (segments.some(segment => DANGEROUS_PROPERTIES.has(segment))) {
4041
continue // Skip dangerous property names

0 commit comments

Comments
 (0)