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/regexp.rdoc | |
parent | 844a9dff887f0af075c0c50020f98a45a1528d14 (diff) | |
download | ruby-1fe2e3461303b59b298e3a700bbd0bb53f23031f.tar.gz |
Fix a typo Denail-of-Service => Denial-of-Service [ci skip]
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. |