diff options
author | sampatbadhe <sampatbadhe@gmail.com> | 2022-10-08 08:30:33 +0530 |
---|---|---|
committer | Kazuhiro NISHIYAMA <znz@users.noreply.github.com> | 2022-10-08 12:36:05 +0900 |
commit | 1fe2e3461303b59b298e3a700bbd0bb53f23031f (patch) | |
tree | 10a3d5748744acc4ff36266ae6019c03cf5fe687 /doc | |
parent | 844a9dff887f0af075c0c50020f98a45a1528d14 (diff) |
Fix a typo Denail-of-Service => Denial-of-Service [ci skip]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6510
Diffstat (limited to 'doc')
-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. |