Skip to content

Commit

Permalink
Fix a typo Denail-of-Service => Denial-of-Service [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
sampatbadhe authored and znz committed Oct 8, 2022
1 parent 844a9df commit 1fe2e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/regexp.rdoc
Expand Up @@ -796,6 +796,6 @@ The other is timeout keyword of Regexp.new.

When using Regexps to process untrusted input, you should use the timeout
feature to avoid excessive backtracking. Otherwise, a malicious user can
provide input to Regexp causing Denail-of-Service attack.
provide input to Regexp causing Denial-of-Service attack.
Note that the timeout is not set by default because an appropriate limit
highly depends on an application requirement and context.

0 comments on commit 1fe2e34

Please sign in to comment.