Skip to content

Commit

Permalink
Fixed owasp-rate-limit function by removing duplicate name
Browse files Browse the repository at this point in the history
#458
Signed-off-by: quobix <dave@quobix.com>
  • Loading branch information
daveshanley committed Feb 20, 2024
1 parent f9a721b commit 28da3ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rulesets/owasp_ruleset_functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ func GetOWASPRateLimitRule() *model.Rule {
xRatelimitLimit = "X-RateLimit-Limit"
xRateLimitLimit = "X-Rate-Limit-Limit"
ratelimitLimit = "RateLimit-Limit||RateLimit-Reset"
ratelimit = "RateLimit-Limit"
ratelimit = "RateLimit"
)

return &model.Rule{
Expand Down

0 comments on commit 28da3ee

Please sign in to comment.