diff options
Diffstat (limited to 'doc/regexp.rdoc')
-rw-r--r-- | doc/regexp.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/regexp.rdoc b/doc/regexp.rdoc index a7e2a0786e..d623487a98 100644 --- a/doc/regexp.rdoc +++ b/doc/regexp.rdoc @@ -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. |