diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-12 18:37:49 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-12 18:44:48 +0000 |
commit | c5c23eafc1e116c4f7301fc5358a3614c52f894c (patch) | |
tree | a8f85918408b011f0952c42dc204d48c13eaeadb /testing/apache2-mod-perl/mod_perl-2.0.10-http_syntax.patch | |
parent | f5608240f6f1914cb36093988450d09b6ea7fce2 (diff) | |
download | aports-c5c23eafc1e116c4f7301fc5358a3614c52f894c.tar.bz2 aports-c5c23eafc1e116c4f7301fc5358a3614c52f894c.tar.xz |
testing/apache2-mod-perl: add fedora patches
Diffstat (limited to 'testing/apache2-mod-perl/mod_perl-2.0.10-http_syntax.patch')
-rw-r--r-- | testing/apache2-mod-perl/mod_perl-2.0.10-http_syntax.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/apache2-mod-perl/mod_perl-2.0.10-http_syntax.patch b/testing/apache2-mod-perl/mod_perl-2.0.10-http_syntax.patch new file mode 100644 index 0000000000..465d0c4e2a --- /dev/null +++ b/testing/apache2-mod-perl/mod_perl-2.0.10-http_syntax.patch @@ -0,0 +1,33 @@ +From 4a803fdb4c9eae8538293fe31c9222eecb6465be Mon Sep 17 00:00:00 2001 +From: Niko Tyni <ntyni@debian.org> +Date: Fri, 23 Dec 2016 18:27:23 +0200 +Subject: [PATCH 1/2] Fix t/apache/read.t HTTP syntax for Apache 2.4.24 + compatibility + +HTTP/1.1 RFC 7230, section 2.6. "Protocol Versioning" says the HTTP name +is case sensitive. Starting with Apache 2.4.24, using lower case will +make the server issue a 400 Bad request response, causing a test failure. + +https://tools.ietf.org/html/rfc7230#section-2.6 + +Bug-Debian: https://bugs.debian.org/849082 +--- + t/apache/read.t | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/t/apache/read.t b/t/apache/read.t +index 83670c9..9f7f504 100644 +--- a/t/apache/read.t ++++ b/t/apache/read.t +@@ -24,7 +24,7 @@ close $fh; + + my $size = length $data; + +-for my $string ("POST $location http/1.0", ++for my $string ("POST $location HTTP/1.0", + "Content-length: $size", + "") { + my $line = "$string\r\n"; +-- +2.11.0 + |