File: apache2.4-compat.patch

package info (click to toggle)
libembperl-perl 2.5.0-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 6,200 kB
  • sloc: ansic: 21,387; perl: 14,496; cpp: 467; xml: 49; makefile: 32; sh: 24
file content (31 lines) | stat: -rw-r--r-- 939 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From bcce23a15de55a39478f83a7923d8a89f681cc19 Mon Sep 17 00:00:00 2001
From: Niko Tyni <ntyni@debian.org>
Date: Tue, 29 Jul 2014 14:34:35 +0300
Subject: [PATCH] Adapt to an Apache 2.4.10 error page change

The "Forbidden" error page was slightly changed by Apache commit

 https://github.com/apache/httpd/commit/4f8fc53c8f6df76a42ccc89275fcede766662f9e
 https://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/modules/http/http_protocol.c?r1=1487127&r2=1610328

breaking the EmbperlObject/epobase.htm test. The fix works
with both the old and the new page format.
---
 test/cmp/epobase.htm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/cmp/epobase.htm b/test/cmp/epobase.htm
index ba29386..9d0269c 100644
--- a/test/cmp/epobase.htm
+++ b/test/cmp/epobase.htm
@@ -5,6 +5,7 @@
 <H1>Forbidden</H1>
 ^.*?You don't have permission to access /embperl/EmbperlObject/epobase.htm
 ^on this server
+^-</p>
 </BODY></HTML>
 
 
-- 
2.0.1