DevHeads.net

Postings by =?utf-8?q?Rasmus_Lerdorf?=

com web/bugs: Fix typo: www/js/userlisting.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=400e87a4be176c78a735cb741e2d399f21118679" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=400e87a4be176c78a735cb741e2d399f21118679">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=400e87a4be176c78a735cb...</a>

Log:
Fix typo

Changed paths:
M www/js/userlisting.php

Diff:
diff --git a/www/js/userlisting.php b/www/js/userlisting.php
index f79f046..1cafd62 100644
--- a/www/js/userlisting.php
+++ b/www/js/userlisting.php
@@ -27,7 +27,7 @@ function getAllUsers()
return $json;
}

-if (!file_exists("/tmp/svnusers.json") || filemetime("/tmp/svnusers.json") < $_SERVER["REQUEST_TIME"] - 3600) {
+if (!file_exists("/tmp/svnusers.json") || filemtime("/tmp/svnusers.json") < $_SERVER["REQUEST_TIME"] - 36

com web/bugs: Merge PR #39: www/index.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=e11c6cc36b49b56dbc049e98c06985a27f6849a5" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=e11c6cc36b49b56dbc049e98c06985a27f6849a5">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=e11c6cc36b49b56dbc049e...</a>

Log:
Merge PR #39

Bugs:
<a href="https://bugs.php.net/39" title="https://bugs.php.net/39">https://bugs.php.net/39</a>

Changed paths:
M www/index.php

Diff:
diff --git a/www/index.php b/www/index.php
index 66eea4d..15acf27 100644
--- a/www/index.php
+++ b/www/index.php
@@ -108,7 +108,7 @@ to a random open bug.</p>

com web/bugs: associative index needed here: templates/patchdiff.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=6cd9d03b3ada00411bff097b51bac409a44b0587" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=6cd9d03b3ada00411bff097b51bac409a44b0587">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=6cd9d03b3ada00411bff09...</a>

Log:
associative index needed here

Changed paths:
M templates/patchdiff.php

Diff:
diff --git a/templates/patchdiff.php b/templates/patchdiff.php
index 37acd54..554f24a 100644
--- a/templates/patchdiff.php
+++ b/templates/patchdiff.php
@@ -31,8 +31,8 @@ if (count($obsoletes)) {
Patch Revisions:
<?php foreach ($revisions as $i => $revision) { ?>
<a href="patch-display.php?bug_id=<?php echo $bug_id; ?>&amp;patch=<?php
- echo $patch_name_url; ?>&amp;revision=<?php echo urlencode($rev

com web/bugs: Get rid of the PHP4-style constructor here: include/classes/bug_diff_renderer.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=64b2cba45826965f911cac39bb89204140abf78b" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=64b2cba45826965f911cac39bb89204140abf78b">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=64b2cba45826965f911cac...</a>

Log:
Get rid of the PHP4-style constructor here

Changed paths:
M include/classes/bug_diff_renderer.php

Diff:
diff --git a/include/classes/bug_diff_renderer.php b/include/classes/bug_diff_renderer.php
index 9b3751d..3feaef0 100644
--- a/include/classes/bug_diff_renderer.php
+++ b/include/classes/bug_diff_renderer.php
@@ -24,7 +24,7 @@ class Bug_Diff_Renderer extends Text_Diff_Renderer
function __construct($d)
{
$this->diff = $d;
- parent::Text_Diff_Renderer();
+ parent::__const

com web/bugs: Fix patchdisplay: include/classes/bug_diff_renderer.php templates/patchdisplay.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=89c860debffda68a1ab76909785d86bcddb1e4f4" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=89c860debffda68a1ab76909785d86bcddb1e4f4">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=89c860debffda68a1ab769...</a>

Log:
Fix patchdisplay

Changed paths:
M include/classes/bug_diff_renderer.php
M templates/patchdisplay.php

Diff:
diff --git a/include/classes/bug_diff_renderer.php b/include/classes/bug_diff_renderer.php
index 8ecfb5b..9b3751d 100644
--- a/include/classes/bug_diff_renderer.php
+++ b/include/classes/bug_diff_renderer.php
@@ -58,7 +58,7 @@ class Bug_Diff_Renderer extends Text_Diff_Renderer
return $this->_deleted($orig) . "\n" .

com web/bugs: Fix patch display: templates/listpatches.php www/bug.php www/patch-display.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=97246d716b17fc8cb5be51812d6f40e07c811e9c" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=97246d716b17fc8cb5be51812d6f40e07c811e9c">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=97246d716b17fc8cb5be51...</a>

Log:
Fix patch display

Changed paths:
M templates/listpatches.php
M www/bug.php
M www/patch-display.php

Diff:
diff --git a/templates/listpatches.php b/templates/listpatches.php
index 8c848f0..fc6ef33 100644
--- a/templates/listpatches.php
+++ b/templates/listpatches.php
@@ -9,7 +9,9 @@
<?php } ?>
</td>
</tr>
-<?php foreach ($patches as $pname => $revs) { ?>
+<?php
+foreach ($patches as $fpa) { $fixed[$fpa['patch']][] = [ $fpa['revision'], $fpa['developer'] ]; }
+foreach

com web/bugs: Get rid of preg /e: include/functions.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=c75a11c6847b3f3e970c163fb0c5c69c2075ca07" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=c75a11c6847b3f3e970c163fb0c5c69c2075ca07">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=c75a11c6847b3f3e970c16...</a>

Log:
Get rid of preg /e

Changed paths:
M include/functions.php

Diff:
diff --git a/include/functions.php b/include/functions.php
index 1521db8..03ab96b 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -994,12 +994,15 @@ function mail_bug_updates($bug, $in, $from, $ncomment, $edit = 1, $id = false)
}

if ($ncomment) {
- $ncomment = preg_replace('#<div class="changeset">(.*)</div>#sUe', "ltrim(strip_tags('\\1'))", $ncomment);
+# $ncomment = preg_replace('#<div clas

com web/bugs: get all subscribers: include/functions.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=c442dc96f30c419107379e4f63e94d8122fc857d" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=c442dc96f30c419107379e4f63e94d8122fc857d">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=c442dc96f30c419107379e...</a>

Log:
get all subscribers

Changed paths:
M include/functions.php

Diff:
diff --git a/include/functions.php b/include/functions.php
index 36d8648..1521db8 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1384,7 +1384,7 @@ function get_package_mail($package_name, $bug_id = false, $bug_type = 'Bug')
$to[] = $assigned;
}
}
- $bcc = $dbh->prepare("SELECT email FROM bugdb_subscribe WHERE bug_id=?")->execute([$bug_id])->fetchOne();
+ $bcc = $dbh->prepare("SELECT

com web/bugs: ipv6 here too: www/report.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=966b95fee45e6a86ee0b2e9657321dda277aadc8" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=966b95fee45e6a86ee0b2e9657321dda277aadc8">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=966b95fee45e6a86ee0b2e...</a>

Log:
ipv6 here too

Changed paths:
M www/report.php

Diff:
diff --git a/www/report.php b/www/report.php
index 95098d0..79d9226 100644
--- a/www/report.php
+++ b/www/report.php
@@ -200,7 +200,7 @@ OUTPUT;
ts1,
private,
visitor_ip
- ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, "Open", NOW(), ?, INET_ATON(?))
+ ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, "Open", NOW(), ?, INET6_ATON(?))
')->execute(array(
$package_name,
$_POST['in']['bug_type'],

com web/bugs: IPV6 support: include/functions.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=9e2320626559caacef641dd4bedf9450650aeab2" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=9e2320626559caacef641dd4bedf9450650aeab2">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=9e2320626559caacef641d...</a>

Log:
IPV6 support

Changed paths:
M include/functions.php

Diff:
diff --git a/include/functions.php b/include/functions.php
index 378a7ed..36d8648 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1621,7 +1621,7 @@ function bugs_add_comment($bug_id, $from, $from_name, $comment, $type = 'comment

return $dbh->prepare("
INSERT INTO bugdb_comments (bug, email, reporter_name, comment, comment_type, ts, visitor_ip)
- VALUES (?, ?, ?, ?, ?, NOW(), INET_ATON(?))
+ VALUE

com web/bugs: Minor fixes: include/functions.php www/js/userlisting.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=196bfff9ba2f35e3b37665f430ea2ba1edf5e7f8" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=196bfff9ba2f35e3b37665f430ea2ba1edf5e7f8">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=196bfff9ba2f35e3b37665...</a>

Log:
Minor fixes

Changed paths:
M include/functions.php
M www/js/userlisting.php

Diff:
diff --git a/include/functions.php b/include/functions.php
index a8c6ec1..378a7ed 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1384,7 +1384,7 @@ function get_package_mail($package_name, $bug_id = false, $bug_type = 'Bug')
$to[] = $assigned;
}
}
- $bcc = $dbh->prepare("SELECT email FROM bugdb_subscribe WHERE bug_id=?")->execute([$bug_id])->fetchCol();
+ $bcc = $d

com web/bugs: Missing the pdo file: include/classes/bug_pdo.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=2425be23c5a556097b2758ffbc5607a22d4d6349" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=2425be23c5a556097b2758ffbc5607a22d4d6349">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=2425be23c5a556097b2758...</a>

Log:
Missing the pdo file

Changed paths:
A include/classes/bug_pdo.php

Diff:
diff --git a/include/classes/bug_pdo.php b/include/classes/bug_pdo.php
new file mode 100644
index 0000000..b787168
--- /dev/null
+++ b/include/classes/bug_pdo.php
@@ -0,0 +1,82 @@
+<?php
+/**
+ * Thin compatibility layer between MDB2 and PDO for bugs.php.net.
+ *
+ * Please mind that it's not meant to implement full feature set,
+ * but only this used by our existing codebase.

com web/bugs: New bugs.php.net code: README.md include/classes/bug_patchtracker.php include/functions.php include/php_versions.php include/prepend.php include/query.php local_config.php.sample scripts/cron/email-assigned scripts/cron/no-fe

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=23298a123688443276f60143c1261f85a85873fe" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=23298a123688443276f60143c1261f85a85873fe">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=23298a123688443276f601...</a>

Log:
New bugs.php.net code

Changed paths:
M README.md
M include/classes/bug_patchtracker.php
M include/functions.php
M include/php_versions.php
M include/prepend.php
M include/query.php
M local_config.php.sample
M scripts/cron/email-assigned
M scripts/cron/no-feedback
M templates/search-rdf.php
M templates/search-rss2.php
M www/js/userlisting.php
M www/report.php
M www/rss/search.php
M www/search.php

com web/bugs: Fix another notice: include/functions.php www/fix.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=5d5debad406fb4ea468a4a91984ef1031876fb3a" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=5d5debad406fb4ea468a4a91984ef1031876fb3a">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=5d5debad406fb4ea468a4a...</a>

Log:
Fix another notice

Changed paths:
M include/functions.php
M www/fix.php

Diff:
diff --git a/include/functions.php b/include/functions.php
index 2954d8c..845b831 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -64,7 +64,7 @@ $state_types = array (
/**
* Authentication
*/
-function verify_password($user, $pass)
+function verify_user_password($user, $pass)
{
global $errors;

@@ -165,7 +165,7 @@ function bugs_authenticate (&$user, &$pw, &$logged_in, &$user

com web/bugs: Quiet some notices: www/bug.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=c14bb87b01ee504a27531aee4bb27fb37b301032" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=c14bb87b01ee504a27531aee4bb27fb37b301032">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=c14bb87b01ee504a27531a...</a>

Log:
Quiet some notices

Changed paths:
M www/bug.php

Diff:
diff --git a/www/bug.php b/www/bug.php
index e1d69ee..bcddf97 100644
--- a/www/bug.php
+++ b/www/bug.php
@@ -4,10 +4,11 @@
// Obtain common includes
require_once '../include/prepend.php';

-// Start session
+// Start session
session_start();

define('SPAM_REJECT_MESSAGE', 'Your comment looks like SPAM by its content.

com web/master: Turn off debug: entry/subscribe.php

Link: <a href="http://git.php.net/?p=web/master.git;a=commitdiff;h=41d06c03f9d171f7860efd2cd7b88c98a6fe38c4" title="http://git.php.net/?p=web/master.git;a=commitdiff;h=41d06c03f9d171f7860efd2cd7b88c98a6fe38c4">http://git.php.net/?p=web/master.git;a=commitdiff;h=41d06c03f9d171f7860e...</a>

Log:
Turn off debug

Changed paths:
M entry/subscribe.php

Diff:
diff --git a/entry/subscribe.php b/entry/subscribe.php
index b0e19db..7500cc5 100644
--- a/entry/subscribe.php
+++ b/entry/subscribe.php
@@ -37,7 +37,7 @@ $sub = str_replace("@", "=", $_POST['email']);
date_default_timezone_set('Etc/UTC');
$mail = new PHPMailer;
$mail->isSMTP();
-$mail->SMTPDebug = 2;
+$mail->SMTPDebug = 0;
$mail->Host = 'php-smtp2.php.net';
$mail->Port = 25;
$mail->setFrom($_POST['email']);

com web/bugs: Wrong table name: www/admin/index.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=eeb25b61eb0ba42e669f0c63a318c3e76585c373" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=eeb25b61eb0ba42e669f0c63a318c3e76585c373">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=eeb25b61eb0ba42e669f0c...</a>

Log:
Wrong table name

Changed paths:
M www/admin/index.php

Diff:
diff --git a/www/admin/index.php b/www/admin/index.php
index 543d36a..808984f 100644
--- a/www/admin/index.php
+++ b/www/admin/index.php
@@ -47,7 +47,7 @@ if ($action === 'list_responses') {

$res = $dbh->query("
SELECT *
- FROM bug_resolves
+ FROM bugdb_resolves
");

echo "<h3>List Responses</h3>";

com web/php: Avoid wrnings in case we can't get the active branches for some reason: include/branches.inc index.php

Link: <a href="http://git.php.net/?p=web/php.git;a=commitdiff;h=252be3c2f07b1c6032724be9c38bd36fb3eafa56" title="http://git.php.net/?p=web/php.git;a=commitdiff;h=252be3c2f07b1c6032724be9c38bd36fb3eafa56">http://git.php.net/?p=web/php.git;a=commitdiff;h=252be3c2f07b1c6032724be...</a>

Log:
Avoid wrnings in case we can't get the active branches for some reason

Changed paths:
M include/branches.inc
M index.php

Diff:
diff --git a/include/branches.inc b/include/branches.inc
index 9b128b9..5958fa2 100644
--- a/include/branches.inc
+++ b/include/branches.inc
@@ -139,7 +139,9 @@ function get_active_branches($include_recent_eols = true) {
}
}
}
- ksort($branches[$major]);
+ if (!empty($branches[$major])) {
+ ksort($branches[$major]);
+ }
}

ksort($br

com web/php: Fix release date: include/releases.inc

Link: <a href="http://git.php.net/?p=web/php.git;a=commitdiff;h=a4858e6b5dd030ac2a63f8eb404ebcfa145eecfc" title="http://git.php.net/?p=web/php.git;a=commitdiff;h=a4858e6b5dd030ac2a63f8eb404ebcfa145eecfc">http://git.php.net/?p=web/php.git;a=commitdiff;h=a4858e6b5dd030ac2a63f8e...</a>

Log:
Fix release date

Changed paths:
M include/releases.inc

Diff:
diff --git a/include/releases.inc b/include/releases.inc
index 7c5c518..fdb34b1 100644
--- a/include/releases.inc
+++ b/include/releases.inc
@@ -160,7 +160,7 @@ $OLDRELEASES = array (
'name' => 'PHP 7.0.2 (tar.bz2)',
'md5' => '8c71b2ffd29311e4b7ac7788bd107554',
'sha256' => '9b1b75fbd9c92c6b0003b234e550965038826d11ea1f430bf279964da9da2236',
- 'date' => '07 Jan 2015',
+ 'da

com web/bugs: Add Sara: include/trusted-devs.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=5d83939ac8f4eb028ec28cfab8ed49389208c693" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=5d83939ac8f4eb028ec28cfab8ed49389208c693">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=5d83939ac8f4eb028ec28c...</a>

Log:
Add Sara

Changed paths:
M include/trusted-devs.php

Diff:
diff --git a/include/trusted-devs.php b/include/trusted-devs.php
index 48bf7f4..0c59d0e 100644
--- a/include/trusted-devs.php
+++ b/include/trusted-devs.php
@@ -15,7 +15,8 @@ $trusted_developers = array(
'pajoye',
'laruence',
'zeev',
- 'kalle'
+ 'kalle',
+ 'pollita'
);

// Distro people (security related)

com web/wiki: Fix grammar: dokuwiki/lib/plugins/phpreg/action.php

Link: <a href="http://git.php.net/?p=web/wiki.git;a=commitdiff;h=0bf8674946679af35b4b21416e5dd4898d1e5eb3" title="http://git.php.net/?p=web/wiki.git;a=commitdiff;h=0bf8674946679af35b4b21416e5dd4898d1e5eb3">http://git.php.net/?p=web/wiki.git;a=commitdiff;h=0bf8674946679af35b4b21...</a>

Log:
Fix grammar

Changed paths:
M dokuwiki/lib/plugins/phpreg/action.php

Diff:
diff --git a/dokuwiki/lib/plugins/phpreg/action.php b/dokuwiki/lib/plugins/phpreg/action.php
index 0a8c6d2..9d361ea 100644
--- a/dokuwiki/lib/plugins/phpreg/action.php
+++ b/dokuwiki/lib/plugins/phpreg/action.php
@@ -57,7 +57,7 @@ class action_plugin_phpreg extends DokuWiki_Action_Plugin
$spam = isset($_POST['spam']) ?

com web/bugs: typo: include/classes/bug_patchtracker.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=70ca6e3414b73ebce4d5c732e12d5b6fe762b9e6" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=70ca6e3414b73ebce4d5c732e12d5b6fe762b9e6">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=70ca6e3414b73ebce4d5c7...</a>

Log:
typo

Changed paths:
M include/classes/bug_patchtracker.php

Diff:
diff --git a/include/classes/bug_patchtracker.php b/include/classes/bug_patchtracker.php
index cd77815..93c6051 100644
--- a/include/classes/bug_patchtracker.php
+++ b/include/classes/bug_patchtracker.php
@@ -132,7 +132,7 @@ class Bug_Patchtracker
return PEAR::raiseError('Upload directory for patches could not be initialized');
}
if (!preg_match('/^[\w\-\.]+\z/', $name) || strlen($name) > 80) {
- return P

com web/bugs: .: include/classes/bug_patchtracker.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=b792953c6004e7a1e62a29ec95bb033217678caa" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=b792953c6004e7a1e62a29ec95bb033217678caa">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=b792953c6004e7a1e62a29...</a>

Log:
.

Changed paths:
M include/classes/bug_patchtracker.php

Diff:
diff --git a/include/classes/bug_patchtracker.php b/include/classes/bug_patchtracker.php
index 772504f..cd77815 100644
--- a/include/classes/bug_patchtracker.php
+++ b/include/classes/bug_patchtracker.php
@@ -132,7 +132,7 @@ class Bug_Patchtracker
return PEAR::raiseError('Upload directory for patches could not be initialized');
}
if (!preg_match('/^[\w\-\.]+\z/', $name) || strlen($name) > 80) {
- return PEAR

com web/php: Forgot to add DigitalOcean here: thanks.php

Link: <a href="http://git.php.net/?p=web/php.git;a=commitdiff;h=d7f4bf2d490340e7643cd9171623697b4082e603" title="http://git.php.net/?p=web/php.git;a=commitdiff;h=d7f4bf2d490340e7643cd9171623697b4082e603">http://git.php.net/?p=web/php.git;a=commitdiff;h=d7f4bf2d490340e7643cd91...</a>

Log:
Forgot to add DigitalOcean here

Changed paths:
M thanks.php

Diff:
diff --git a/thanks.php b/thanks.php
index 6757bf5..f99ed19 100644
--- a/thanks.php
+++ b/thanks.php
@@ -30,6 +30,11 @@ site_header("Thanks", array("current" => "community"));
</li>

<li>
+ <a href="https://www.digitalocean.com/">DigitalOcean</a> provides
+ VMs for a number of PHP services.
+</li>
+
+<li>
<a href="http://promote.pair.com/direct.pl?php.net">pair Networks</a>
provides the servers and bandwidth f

com web/master: Add PHP 5.6 here: manage/mirrors.php

Link: <a href="http://git.php.net/?p=web/master.git;a=commitdiff;h=b5f118fa76aea2bfd8bfbe2c97085d0e39022f2c" title="http://git.php.net/?p=web/master.git;a=commitdiff;h=b5f118fa76aea2bfd8bfbe2c97085d0e39022f2c">http://git.php.net/?p=web/master.git;a=commitdiff;h=b5f118fa76aea2bfd8bf...</a>

Log:
Add PHP 5.6 here

Changed paths:
M manage/mirrors.php

Diff:
diff --git a/manage/mirrors.php b/manage/mirrors.php
index 23fa404..2119a86 100644
--- a/manage/mirrors.php
+++ b/manage/mirrors.php
@@ -328,6 +328,7 @@ function page_mirror_list($moreinfo = false)
'53' => 0,
'54' => 0,
'55' => 0,
+ '56' => 0,
'other' => 0,
);
// Query the whole mirror list and display all mirrors.

com web/php: Minor language cleanup: my.php

Link: <a href="http://git.php.net/?p=web/php.git;a=commitdiff;h=2117b37953708d7a2849eac1568d0e612233eb7e" title="http://git.php.net/?p=web/php.git;a=commitdiff;h=2117b37953708d7a2849eac1568d0e612233eb7e">http://git.php.net/?p=web/php.git;a=commitdiff;h=2117b37953708d7a2849eac...</a>

Log:
Minor language cleanup

Changed paths:
M my.php

Diff:
diff --git a/my.php b/my.php
index 15d4239..6524cb4 100644
--- a/my.php
+++ b/my.php
@@ -75,8 +75,7 @@ site_header("My PHP.net", array("current" => "community"));
<h1>My PHP.net</h1>

<p>
- This page allows you to customize the PHP.net site to some degree
- to your own liking.
+ This page allows you to customize the PHP.net site.
</p>

com web/php: Add a shortcut to the spec: error.php

Link: <a href="http://git.php.net/?p=web/php.git;a=commitdiff;h=19ff71502d95956979e6edc566eeec55e3817a83" title="http://git.php.net/?p=web/php.git;a=commitdiff;h=19ff71502d95956979e6edc566eeec55e3817a83">http://git.php.net/?p=web/php.git;a=commitdiff;h=19ff71502d95956979e6edc...</a>

Log:
Add a shortcut to the spec

Changed paths:
M error.php

Diff:
diff --git a/error.php b/error.php
index 63efbc9..ec0997b 100644
--- a/error.php
+++ b/error.php
@@ -484,6 +484,7 @@ $external_redirects = array(
"rest/readme.mailinglist_rules" => "http://git.php.net/?p=php-src.git;a=blob_plain;f=README.MAILINGLIST_RULES;hb=HEAD",
"rest/readme.git-rules" => "http://git.php.net/?p=php-src.git;a=blob_plain;f=README.GIT-RULES;hb=HEAD",
"rest/coding_standards" =

com web/php: *sigh*: cached.php

Link: <a href="http://git.php.net/?p=web/php.git;a=commitdiff;h=293c89ed3eb3a2dd6d739370a541b775ecb123ac" title="http://git.php.net/?p=web/php.git;a=commitdiff;h=293c89ed3eb3a2dd6d739370a541b775ecb123ac">http://git.php.net/?p=web/php.git;a=commitdiff;h=293c89ed3eb3a2dd6d73937...</a>

Log:
*sigh*

Changed paths:
M cached.php

Diff:
diff --git a/cached.php b/cached.php
index a716a7a..01c2544 100644
--- a/cached.php
+++ b/cached.php
@@ -1,4 +1,15 @@
<?php
+/*
+ Yes, we know this can be used to view the source for any file
+ in the docroot directory. This is intentional and not an LFI
+ vulnerability. The source code for everything in the docroot
+ is publicly available at
+
+ <a href="https://github.com/php/web-php" title="https://github.com/php/web-php">https://github.com/php/web-php</a>
+
+ so there is no vulnerability here.

com web/php: Prevent response header splitting: cached.php manual/change.php

Link: <a href="http://git.php.net/?p=web/php.git;a=commitdiff;h=efc35ac0f036067081e13aabca445f68d6e7b9b4" title="http://git.php.net/?p=web/php.git;a=commitdiff;h=efc35ac0f036067081e13aabca445f68d6e7b9b4">http://git.php.net/?p=web/php.git;a=commitdiff;h=efc35ac0f036067081e13aa...</a>

Log:
Prevent response header splitting

Changed paths:
M cached.php
M manual/change.php

Diff:
diff --git a/cached.php b/cached.php
index 6793c04..a716a7a 100644
--- a/cached.php
+++ b/cached.php
@@ -11,7 +11,7 @@ $abs = $pwd. "/" .(string)$_GET["f"];
$abs = realpath($abs);

if (strncmp($abs, $pwd, strlen($pwd)) != 0) {
- header("Location: http://php.net/" . $_GET["f"]);
+ header("Location: http://php.net/" .

com web/php: Without pinning the year this array will change from year to year: include/layout.inc

Link: <a href="http://git.php.net/?p=web/php.git;a=commitdiff;h=9d983f68725bf9675310aa1f8fed3373a061b36f" title="http://git.php.net/?p=web/php.git;a=commitdiff;h=9d983f68725bf9675310aa1f8fed3373a061b36f">http://git.php.net/?p=web/php.git;a=commitdiff;h=9d983f68725bf9675310aa1...</a>

Log:
Without pinning the year this array will change from year to year

Changed paths:
M include/layout.inc

Diff:
diff --git a/include/layout.inc b/include/layout.inc
index 428aa78..bcfa76a 100644
--- a/include/layout.inc
+++ b/include/layout.inc
@@ -303,7 +303,7 @@ function display_event($event, $include_date = 1)

// Weekday names array
for ($i = 1; $i <= 7; $i++) {
- $days[$i] = strftime('%A', mktime(12, 0, 0, 4, $i));
+ $days[$i] = strftime('%A', mktime(12, 0