DevHeads.net

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

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

com web/people: short-circuit this for now: include/karma.php

Link: <a href="http://git.php.net/?p=web/people.git;a=commitdiff;h=467e34ec685989b236008d0318c5a303de77e885" title="http://git.php.net/?p=web/people.git;a=commitdiff;h=467e34ec685989b236008d0318c5a303de77e885">http://git.php.net/?p=web/people.git;a=commitdiff;h=467e34ec685989b23600...</a>

Log:
short-circuit this for now

Changed paths:
M include/karma.php

Diff:
diff --git a/include/karma.php b/include/karma.php
index 86a30c0..bc39bc7 100644
--- a/include/karma.php
+++ b/include/karma.php
@@ -32,8 +32,9 @@ function refreshStaleKarma()

function fetchKarma()
{
- $ctx = stream_context_create(array("http" => array("ignore_errors" => true)));
- $retval = @file_get_contents("https://svn.php.net/repository/SVNROOT/global_avail", false, $ctx);
+# $ctx = stream_cont

com web/php: No more 5_2 here: releases/index.php

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

Log:
No more 5_2 here

Changed paths:
M releases/index.php

Diff:
diff --git a/releases/index.php b/releases/index.php
index 354e9e8..dc83cc5 100644
--- a/releases/index.php
+++ b/releases/index.php
@@ -5,8 +5,8 @@ include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
include_once $_SERVER["DOCUMENT_ROOT"] .

com web/php: Turn off the API search here too: quickref.php

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

Log:
Turn off the API search here too

Changed paths:
M quickref.php

Diff:
diff --git a/quickref.php b/quickref.php
index af29f6c..78550d7 100644
--- a/quickref.php
+++ b/quickref.php
@@ -132,7 +132,6 @@ if ($snippet = is_known_snippet($notfound)) {
}
?>

-<h1>Perform an alternative search here</h1>
<?php
// TODO Fix encoding issues. We encode this earlier.

com web/php: The Bing search API hasn't worked for a while, and it is no longer free, so turn it off entirely: results.php

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

Log:
The Bing search API hasn't worked for a while, and it is no
longer free, so turn it off entirely

Changed paths:
M results.php

Diff:
diff --git a/results.php b/results.php
index e874201..34cdc89 100644
--- a/results.php
+++ b/results.php
@@ -46,13 +46,13 @@ $srch_host = "php.net";
$srch_rqst = "/ws.php?profile=$scope&q=$uq&lang=$ul&results=$per_page&start=$s&mirror=".trim(substr($MYSITE,7),'/');
$url = "http://".$srch_host.$srch_rqst;

-$data = fetch_contents($url);
-if (is_array

com web/php: .: error.php

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

Log:
.

Changed paths:
M error.php

Diff:
diff --git a/error.php b/error.php
index 68f888c..e86503d 100644
--- a/error.php
+++ b/error.php
@@ -1,5 +1,4 @@
<?php
/*

com web/bugs: Merge branch 'pull-request/3' Just in case we have distro folks not on security@: include/functions.php

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

Log:
Merge branch 'pull-request/3'
Just in case we have distro folks not on security@

Changed paths:
MM include/functions.php

Diff:

com web/bugs: Merge branch 'pull-request/4' Make it possible for logged in users to subscribe to bugs: www/bug.php

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

Log:
Merge branch 'pull-request/4'
Make it possible for logged in users to subscribe to bugs

Changed paths:
MM www/bug.php

Diff:

com web/master: Add missing logo: network/status/images/php-logo@2x.png

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

Log:
Add missing logo

Changed paths:
A network/status/images/php- ... at 2x dot png

Diff:
diff --git a/network/status/images/php- ... at 2x dot png b/network/status/images/php- ... at 2x dot png
new file mode 100644
index 0000000..aa4da62
Binary files /dev/null and b/network/status/images/php- ... at 2x dot png differ

com web/master: Fix messed up URL here: network/status/api.php

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

Log:
Fix messed up URL here

Changed paths:
M network/status/api.php

Diff:
diff --git a/network/status/api.php b/network/status/api.php
index 8a04dd7..d385564 100644
--- a/network/status/api.php
+++ b/network/status/api.php
@@ -91,7 +91,7 @@ if (is_array($geoip_info) && $geoip_info[0] == 'OK') {
$html =<<<HTML
The node named <b><a href="{$conf[0]}" target="_blank">{$_GET['host']}</a></b> is an <b>{$active}</b>
{$mirrortype} php.net mirror serving the community from <b>{$row['name']

com web/php: Fix warning: ws.php

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

Log:
Fix warning

Changed paths:
M ws.php

Diff:
diff --git a/ws.php b/ws.php
index 7ba4d3f..0561aaa 100644
--- a/ws.php
+++ b/ws.php
@@ -95,7 +95,7 @@ function ws_bing_massage($data) {
),
);

- foreach ($set as $result) {
+ foreach ((array)$set as $result) {
$massaged['ResultSet']['Result'][] = array(
'Title' => $result['Title'],
'Summary' => $result['Description'],

com web/php: No more apc here and fix the path to the ws config: ws.php

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

Log:
No more apc here and fix the path to the ws config

Changed paths:
M ws.php

Diff:
diff --git a/ws.php b/ws.php
index 3c01d0e..7ba4d3f 100644
--- a/ws.php
+++ b/ws.php
@@ -1,11 +1,7 @@
<?php
include 'include/languages.inc';
-if(false && !$conf=apc_fetch('ws2_config')) {
- include '/local/Web/ws2.conf';
- apc_store('ws2_config',$conf);
-} else {
- include '/local/Web/ws2.conf';
-}
+include '/local/this-box/ws2.conf';
+
$raw = filter_input(INPUT_GET, 'q', FILTER_UNSAFE_RAW);
$q

com web/master: Test commit: forgot.php

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

Log:
Test commit

Changed paths:
M forgot.php

Diff:
diff --git a/forgot.php b/forgot.php
index 3407a2c..0a18646 100644
--- a/forgot.php
+++ b/forgot.php
@@ -7,7 +7,6 @@ foreach($valid_vars as $k) {
$$k = isset($_REQUEST[$k]) ? $_REQUEST[$k] : false;
}

com web/bugs: Enable logined user the ability to subsribe bugs: www/bug.php

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

Log:
Enable logined user the ability to subsribe bugs

Changed paths:
M www/bug.php

Diff:
diff --git a/www/bug.php b/www/bug.php
index 314b89f..0f1475a 100644
--- a/www/bug.php
+++ b/www/bug.php
@@ -69,7 +69,7 @@ if (isset($_POST['subscribe_to_bug']) || isset($_POST['unsubscribe_to_bug'])) {
}

if (empty($errors)) {
- if ($logged_in && $auth_user->registered && !empty($auth_user->email)) {
+ if ($logged_in && !empty($auth_user->email)) {
$email = $auth_user->email;
} else

com web/bugs: Add missing "global $security_distro_people": include/functions.php

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

Log:
Add missing "global $security_distro_people"

It was missing for the change in 6d41525 to actually work.

Thanks to David Soria Parra for spotting it.

Changed paths:
M include/functions.php

Diff:
diff --git a/include/functions.php b/include/functions.php
index 7078bfd..d5cb368 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1344,7 +1344,7 @@ function incoming_details_are_valid($in, $initial = 0, $logged_in = false)
*/
function get_package_mail($package_name,

com web/bugs: Email security reports to distribution's security contacts: include/functions.php

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

Log:
Email security reports to distribution's security contacts

Only php.net's security team was receiving security reports, making
them go unnoticed to the distribution contacts.
This patch assumes that people in the $security_developers array (other
than those in $security_distro_people) receive a copy from php.net's
security address exploder.

Changed paths:
M include/functions.php

Diff:
diff --git a/include/functions.php b/include/functions.php
index 48a2e34..7078bfd 100644
--- a/i

com web/bugs: More spam: include/functions.php

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

Log:
More spam

Changed paths:
M include/functions.php

Diff:
diff --git a/include/functions.php b/include/functions.php
index 54b544b..9f3645f 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -259,7 +259,7 @@ function is_spam($string)
if (substr_count(strtolower($string), 'http://') > 5) {
return true;
}
- if (preg_match("/(asian)|(spy)|(bdsm)|(massage)|(mortage)|(sex)(?<!OutOfBoundsEx(?=ception))|(11nong)|(oxycontin)|(distance-education)|(sismatech)|(justiceplan