From 1fe2e3461303b59b298e3a700bbd0bb53f23031f Mon Sep 17 00:00:00 2001 From: sampatbadhe Date: Sat, 8 Oct 2022 08:30:33 +0530 Subject: [PATCH] Fix a typo Denail-of-Service => Denial-of-Service [ci skip] --- doc/regexp.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.