After fixing CVE-2021-33621, the domain parameter regex does not accept
leading dot. This is a behavior difference, that this commit fixes.
5e09d632f3
Related: CVE-2021-33621
Backported from upstream Ruby 2.7.7, commit:
<7cf697179d>
Test "CGICookieTest#test_cgi_cookie_new_with_domain" was adjusted to
deal with Ruby 2.5 not allowing String as key with double splat operator.
Resolves: CVE-2021-33621
The commit is a cherry-pick from Fedora Rawhide 79d75fdcdd .
The commit is a cherry-pick from Fedora Rawhide f8ef5964d0 .
The purpose is to fix Build failures.
Related: rhbz#2210326
With ruby < 2.6.0 / rdoc < 6.0.2, rdoc fails to parse valid ruby code,
resulting in spurious build failures. An example is asciidoctor >
2.0.15 (though 2.0.20, currently)
While attempting to build asciidoctor-2.0.20 for Fedora and RHEL+EPEL
releases, the following error fails the build on RHEL+EPEL 8:
Installing ri documentation for asciidoctor-2.0.20
Installing darkfish documentation for asciidoctor-2.0.20
ERROR: While executing gem ... (RDoc::Error)
error generating Asciidoctor/Converter/ManPageConverter.html:
no implicit conversion of nil into String (TypeError)
Resolves: rhbz#2210326