-
-
Notifications
You must be signed in to change notification settings - Fork 736
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add option to customize the depth with a default value of 32
- Update documentation to reflect the new features and errors - Update the changelog - Upgrade to `[email protected]` - Add the `depth` option to define the depth of parsing while parsing the query string - Enable the `strictDepth` option by default in `qs.parse` - Add a 400 status code when the depth of the query string exceeds the limit defined by the `depth` option - Reduce the default depth limit to 32
- Loading branch information
1 parent
07ce14d
commit afd0f39
Showing
5 changed files
with
130 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
unreleased | ||
========================= | ||
|
||
* Propagate changes from 1.20.3 | ||
* add brotli support #406 | ||
|
||
2.0.0-beta.2 / 2023-02-23 | ||
|
@@ -29,6 +29,13 @@ This incorporates all changes after 1.19.1 up to 1.20.2. | |
* `urlencoded` parser now defaults `extended` to `false` | ||
* Use `on-finished` to determine when body read | ||
|
||
1.20.3 / 2024-09-10 | ||
=================== | ||
|
||
* deps: [email protected] | ||
* add `depth` option to customize the depth level in the parser | ||
* IMPORTANT: The default `depth` level for parsing URL-encoded data is now `32` (previously was `Infinity`) | ||
|
||
1.20.2 / 2023-02-21 | ||
=================== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters