From: | "Raul Porcel (armin76)" <armin76@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-php/PEAR-HTTP/files: PEAR-HTTP-1.4.0-trailingslash-redirect-bug12672.patch digest-PEAR-HTTP-1.4.0-r1 |
Date: | Mon, 24 Dec 2007 12:38:40 |
Message-Id: | E1J6mZm-0004wS-AF@stork.gentoo.org |
1 | armin76 07/12/24 12:38:34 |
2 | |
3 | Added: |
4 | PEAR-HTTP-1.4.0-trailingslash-redirect-bug12672.patch |
5 | digest-PEAR-HTTP-1.4.0-r1 |
6 | Log: |
7 | Version bump from the php-overlay |
8 | (Portage version: 2.1.3.19) |
9 | |
10 | Revision Changes Path |
11 | 1.1 dev-php/PEAR-HTTP/files/PEAR-HTTP-1.4.0-trailingslash-redirect-bug12672.patch |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php/PEAR-HTTP/files/PEAR-HTTP-1.4.0-trailingslash-redirect-bug12672.patch?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php/PEAR-HTTP/files/PEAR-HTTP-1.4.0-trailingslash-redirect-bug12672.patch?rev=1.1&content-type=text/plain |
15 | |
16 | Index: PEAR-HTTP-1.4.0-trailingslash-redirect-bug12672.patch |
17 | =================================================================== |
18 | diff -Nau HTTP.php.orig HTTP.php |
19 | --- HTTP.php.orig 23 Apr 2006 14:20:52 -0000 |
20 | +++ HTTP.php 12 Dec 2007 14:16:25 -0000 |
21 | @@ -332,6 +332,8 @@ |
22 | if (isset($_SERVER['PATH_INFO']) && strlen($_SERVER['PATH_INFO']) && |
23 | $_SERVER['PHP_SELF'] != $_SERVER['PATH_INFO']) { |
24 | $path = dirname(substr($_SERVER['PHP_SELF'], 0, -strlen($_SERVER['PATH_INFO']))); |
25 | + } else if (substr($_SERVER['PHP_SELF'], -1) == "/") { |
26 | + $path = $_SERVER['PHP_SELF']; |
27 | } else { |
28 | $path = dirname($_SERVER['PHP_SELF']); |
29 | } |
30 | |
31 | |
32 | |
33 | 1.1 dev-php/PEAR-HTTP/files/digest-PEAR-HTTP-1.4.0-r1 |
34 | |
35 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php/PEAR-HTTP/files/digest-PEAR-HTTP-1.4.0-r1?rev=1.1&view=markup |
36 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php/PEAR-HTTP/files/digest-PEAR-HTTP-1.4.0-r1?rev=1.1&content-type=text/plain |
37 | |
38 | Index: digest-PEAR-HTTP-1.4.0-r1 |
39 | =================================================================== |
40 | MD5 62f3ef8c163e2ac11b8ea0163f2a5d3e HTTP-1.4.0.tgz 4593 |
41 | RMD160 172b08b653d6a5e878c872fc74872daa335742b3 HTTP-1.4.0.tgz 4593 |
42 | SHA256 c5b005fc460e56ae2e0f6f27fe7fa6d2bdb8a332284f221605bf8406e79d3a3b HTTP-1.4.0.tgz 4593 |
43 | |
44 | |
45 | |
46 | -- |
47 | gentoo-commits@g.o mailing list |