-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(request-transformer) ensure feature flags are either both set or …
…both unset (#3) * fix(request-transformer) ensure REQUEST_TRANSFORMER_ADVANCED_LIMIT_BODY_SIZE is set if REQUEST_TRANSFORMER_ADVANCED_ENABLE_LIMIT_BODY is turned on * fix(request-transformer) add error log for invalid number, fix tests * fix(request-transformer) fix typo, add tests for error logs
- Loading branch information
Showing
5 changed files
with
190 additions
and
6 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
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
3 changes: 3 additions & 0 deletions
3
...ansformer_advanced/feature_request_transformer_advanced_limit_body-body_size_invalid.conf
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
request_transformation_advanced_enable_limit_body=on | ||
request_transformation_advanced_limit_body_size=wow | ||
|
2 changes: 2 additions & 0 deletions
2
...ormer_advanced/feature_request_transformer_advanced_limit_body-body_size_not_defined.conf
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
request_transformation_advanced_enable_limit_body=on | ||
|
File renamed without changes.