Skip to content

Commit

Permalink
Merge pull request #1253 from curiefense/fix-content-filter-max-count…
Browse files Browse the repository at this point in the history
…-max-length-validation

Validate max length and max count of headers, cookies, arguments
  • Loading branch information
yitzchake committed Jul 9, 2023
2 parents 33649c6 + fb2ac3f commit 23076c6
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@
"items": { "$ref": "#/definitions/content-filter-entry-match" }
},
"max_length": {
"type": "number",
"type": "integer",
"minimum": 1,
"title": "Max Length",
"description": "Max length of characters allowed for each item of the section type in the request"
},
"max_count": {
"type": "number",
"type": "integer",
"minimum": 1,
"title": "Max Count",
"description": "Max amount of items of the section type allowed in the request"
}
Expand Down

0 comments on commit 23076c6

Please sign in to comment.