Skip to content

Commit 03f17c2

Browse files
deps: qs@^6.14.1 (#689)
* deps: qs@^6.14.1 * fix(urlencoded): simple mode, set arrayLimit to paramCount (see: #689 (comment)) --------- Co-authored-by: Jon Church <[email protected]>
1 parent ea1f25e commit 03f17c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/types/urlencoded.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function createQueryParser (options) {
9696
})
9797
}
9898

99-
var arrayLimit = extended ? Math.max(100, paramCount) : 0
99+
var arrayLimit = extended ? Math.max(100, paramCount) : paramCount
100100

101101
debug('parse ' + (extended ? 'extended ' : '') + 'urlencoding')
102102
try {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"http-errors": "^2.0.0",
2020
"iconv-lite": "^0.7.0",
2121
"on-finished": "^2.4.1",
22-
"qs": "^6.14.0",
22+
"qs": "^6.14.1",
2323
"raw-body": "^3.0.1",
2424
"type-is": "^2.0.1"
2525
},

0 commit comments

Comments
 (0)