aboutsummaryrefslogtreecommitdiffstats
path: root/lang/php5/files
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-07-15 16:43:08 +0800
committerale <ale@FreeBSD.org>2004-07-15 16:43:08 +0800
commit10ef449dfcd0365ab00ed00bf650c234c2f59868 (patch)
treeca12e8463cf6eb446925859241edccdbc8664fff /lang/php5/files
parent6ad3f1e1aac0ad9ed62558b529fd90298daa21f7 (diff)
downloadfreebsd-ports-gnome-10ef449dfcd0365ab00ed00bf650c234c2f59868.tar.gz
freebsd-ports-gnome-10ef449dfcd0365ab00ed00bf650c234c2f59868.tar.zst
freebsd-ports-gnome-10ef449dfcd0365ab00ed00bf650c234c2f59868.zip
Update to final 5.0.0 release:
- add a post 5.0.0 patch to fix basic authentication with apache 1.x The major PHP ports overhaul is in its final stage. This commit was anticipated since it fixes a critical security vulnerability.
Diffstat (limited to 'lang/php5/files')
-rw-r--r--lang/php5/files/patch-sapi::apache::mod_php5.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/php5/files/patch-sapi::apache::mod_php5.c b/lang/php5/files/patch-sapi::apache::mod_php5.c
new file mode 100644
index 000000000000..6bdc5bcd5601
--- /dev/null
+++ b/lang/php5/files/patch-sapi::apache::mod_php5.c
@@ -0,0 +1,11 @@
+--- sapi/apache/mod_php5.c.orig Thu Jul 15 09:29:05 2004
++++ sapi/apache/mod_php5.c Thu Jul 15 09:30:01 2004
+@@ -485,7 +485,7 @@
+ tmp = uudecode(r->pool, authorization);
+ SG(request_info).auth_user = NULL;
+ tmp_user = getword_nulls_nc(r->pool, &tmp, ':');
+- if (SG(request_info).auth_user) {
++ if (tmp_user) {
+ r->connection->user = pstrdup(r->connection->pool, tmp_user);
+ r->connection->ap_auth_type = "Basic";
+ SG(request_info).auth_user = estrdup(tmp_user);