DevHeads.net

Postings by Sara Golemon

com web/php: Fix missing, uncommited bits of news entry. Oops.: archive/entries/2017-11-09-1.xml

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

Log:
Fix missing, uncommited bits of news entry. Oops.

Changed paths:
M archive/entries/2017-11-09-1.xml

Diff:
diff --git a/archive/entries/2017-11-09-1.xml b/archive/entries/2017-11-09-1.xml
index 4bc5505..af4b1fc 100644
--- a/archive/entries/2017-11-09-1.xml
+++ b/archive/entries/2017-11-09-1.xml
@@ -29,18 +29,12 @@
</p>

com web/php: 7.2.0RC6 news item: archive/archive.xml archive/entries/2017-11-09-1.xml

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

Log:
7.2.0RC6 news item

Changed paths:
M archive/archive.xml
A archive/entries/2017-11-09-1.xml

Diff:
diff --git a/archive/archive.xml b/archive/archive.xml
index 12cfeaa..b6007d1 100644
--- a/archive/archive.xml
+++ b/archive/archive.xml
@@ -9,6 +9,7 @@
<uri>http://php.net/contact</uri>
<email>php- ... at lists dot php.net</email>
</author>
+ <xi:include href="entries/2017-11-09-1.xml"/>
<xi:include href="entries/2017-11-08-1.xml"/>
<xi:include href="entries/2017-1

com web/php: Announce 7.2.0RC5: archive/archive.xml archive/entries/2017-10-26-2.xml

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

Log:
Announce 7.2.0RC5

Changed paths:
M archive/archive.xml
A archive/entries/2017-10-26-2.xml

Diff:
diff --git a/archive/archive.xml b/archive/archive.xml
index 6995070..7c454f5 100644
--- a/archive/archive.xml
+++ b/archive/archive.xml
@@ -9,6 +9,7 @@
<uri>http://php.net/contact</uri>
<email>php- ... at lists dot php.net</email>
</author>
+ <xi:include href="entries/2017-10-26-2.xml"/>
<xi:include href="entries/2017-10-26-1.xml"/>
<xi:include href="entries/2017-10

com web/bugs: Do not include bug report email address in password recovery.: www/bug-pwd-finder.php

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

Log:
Do not include bug report email address in password recovery.

Changed paths:
M www/bug-pwd-finder.php

Diff:
diff --git a/www/bug-pwd-finder.php b/www/bug-pwd-finder.php
index 74df811..2c180f0 100644
--- a/www/bug-pwd-finder.php
+++ b/www/bug-pwd-finder.php
@@ -50,7 +50,7 @@ if (isset($_POST['captcha']) && $bug_id != '') {
'From: ... at php dot net');

if ($resp) {
- $success = "The password for bug report #{$bug_id} has been sent to " .

com web/php: Announce PHP 7.2.0RC2: archive/archive.xml archive/entries/2017-09-14-1.xml

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

Log:
Announce PHP 7.2.0RC2

Changed paths:
M archive/archive.xml
A archive/entries/2017-09-14-1.xml

Diff:
diff --git a/archive/archive.xml b/archive/archive.xml
index 6f4932a..56cfe98 100644
--- a/archive/archive.xml
+++ b/archive/archive.xml
@@ -9,6 +9,7 @@
<uri>http://php.net/contact</uri>
<email>php- ... at lists dot php.net</email>
</author>
+ <xi:include href="entries/2017-09-14-1.xml"/>
<xi:include href="entries/2017-09-13-1.xml"/>
<xi:include href="entries/201

com web/php: Announce 7.2.0beta2: archive/archive.xml archive/entries/2017-08-03-2.xml

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

Log:
Announce 7.2.0beta2

Changed paths:
M archive/archive.xml
A archive/entries/2017-08-03-2.xml

Diff:
diff --git a/archive/archive.xml b/archive/archive.xml
index a825734..7d03a22 100644
--- a/archive/archive.xml
+++ b/archive/archive.xml
@@ -9,6 +9,7 @@
<uri>http://php.net/contact</uri>
<email>php- ... at lists dot php.net</email>
</author>
+ <xi:include href="entries/2017-08-03-2.xml"/>
<xi:include href="entries/2017-08-03-1.xml"/>
<xi:include href="entries/2017-

com web/php: Link bugs.php.net: archive/entries/2017-07-20-1.xml

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

Log:
Link bugs.php.net

Changed paths:
M archive/entries/2017-07-20-1.xml

Diff:
diff --git a/archive/entries/2017-07-20-1.xml b/archive/entries/2017-07-20-1.xml
index 2fce1c4..32a71dc 100644
--- a/archive/entries/2017-07-20-1.xml
+++ b/archive/entries/2017-07-20-1.xml
@@ -3,7 +3,7 @@
<title>PHP 7.2.0 Beta 1 Released</title>
<id>http://php.net/archive/2017.php#id2017-07-20-1</id>
<published>2017-07-20T12:00:00+00:00</published>
- <updated>2017-07-20T12:00:00+00:00</updated>
+ <

com web/php: Announce 7.2.0 beta1: archive/archive.xml archive/entries/2017-07-20-1.xml

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

Log:
Announce 7.2.0 beta1

Changed paths:
M archive/archive.xml
A archive/entries/2017-07-20-1.xml

Diff:
diff --git a/archive/archive.xml b/archive/archive.xml
index 30a4758..8e94bbf 100644
--- a/archive/archive.xml
+++ b/archive/archive.xml
@@ -9,6 +9,7 @@
<uri>http://php.net/contact</uri>
<email>php- ... at lists dot php.net</email>
</author>
+ <xi:include href="entries/2017-07-20-1.xml"/>
<xi:include href="entries/2017-07-10-1.xml"/>
<xi:include href="entries/2017

com web/php: Add 7.1/7.2 references, remove 7.4/7.5 references: git.php

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

Log:
Add 7.1/7.2 references, remove 7.4/7.5 references

Changed paths:
M git.php

Diff:
diff --git a/git.php b/git.php
index 7a9f27d..fbe6a9b 100644
--- a/git.php
+++ b/git.php
@@ -97,18 +97,18 @@ site_header("Git Access", array("current" => "community"));
<li>
You can then check out the branch you want to build, for example:
<br><br>
- <strong>PHP 5.4</strong>:
- <code>git checkout PHP-5.4</code>
- <br>
- <strong>PHP 5.5</strong>:
- <code>git checkout PHP-5.5</code>

com web/php: Only display checksums which are available: downloads.php

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

Log:
Only display checksums which are available

Changed paths:
M downloads.php

Diff:
diff --git a/downloads.php b/downloads.php
index c304269..d0a15c0 100644
--- a/downloads.php
+++ b/downloads.php
@@ -60,8 +60,10 @@ site_header("Downloads",
<li>
<?php download_link($rel['filename'], $rel['filename']); ?>
<span class="releasedate"><?php echo date('d M Y', strtotime($rel['date'])); ?></span>
- <span class="md5sum"><?php echo $rel['md5']; ?></span>

com web/php: Remove md5 checksums from releases: include/releases.inc include/version.inc

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

Log:
Remove md5 checksums from releases

Note that some md5 values have been left in include/releases.inc
for very old releases which have no other checksum/signature available.

<a href="https://wiki.php.net/rfc/release-md5-deprecation" title="https://wiki.php.net/rfc/release-md5-deprecation">https://wiki.php.net/rfc/release-md5-deprecation</a>

Changed paths:
M include/releases.inc
M include/version.inc

com web/php: 7.2.0alpha2 announce: archive/archive.xml archive/entries/2017-06-22-1.xml

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

Log:
7.2.0alpha2 announce

Changed paths:
M archive/archive.xml
A archive/entries/2017-06-22-1.xml

Diff:
diff --git a/archive/archive.xml b/archive/archive.xml
index 30692d8..58a7ec0 100644
--- a/archive/archive.xml
+++ b/archive/archive.xml
@@ -9,6 +9,7 @@
<uri>http://php.net/contact</uri>
<email>php- ... at lists dot php.net</email>
</author>
+ <xi:include href="entries/2017-06-22-1.xml"/>
<xi:include href="entries/2017-06-17-1.xml"/>
<xi:include href="entries/2017

com web/php: Fix incorrect md5 signatures and add sha256 sigs for 5.4.33: include/releases.inc

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

Log:
Fix incorrect md5 signatures and add sha256 sigs for 5.4.33

In all cases modified here the GPG signatures have been
verified against known release manager keys.

The inaccurate checksums are likely due to a broken release
having been reuploaded without updating releases.inc

Changed paths:
M include/releases.inc

Diff:
diff --git a/include/releases.inc b/include/releases.inc
index 43db161..7a0c691 100644
--- a/include/releases.inc
+++ b/include/releases.inc
@@ -1221,8 +1221,8 @@ $OL

com web/php: Alphas belong on the front page, evidently: archive/entries/2017-06-08-2.xml

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

Log:
Alphas belong on the front page, evidently

Changed paths:
M archive/entries/2017-06-08-2.xml

Diff:
diff --git a/archive/entries/2017-06-08-2.xml b/archive/entries/2017-06-08-2.xml
index f49cbfb..90634c0 100644
--- a/archive/entries/2017-06-08-2.xml
+++ b/archive/entries/2017-06-08-2.xml
@@ -5,6 +5,7 @@
<published>2017-06-08T17:03:24+00:00</published>
<updated>2017-06-08T17:03:24+00:00</updated>
<category term="releases" label="New PHP release"/>
+ <category term="frontpag

com web/php: 7.2.0alpha1 announcement: archive/archive.xml archive/entries/2017-06-08-2.xml

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

Log:
7.2.0alpha1 announcement

Changed paths:
M archive/archive.xml
A archive/entries/2017-06-08-2.xml

Diff:
diff --git a/archive/archive.xml b/archive/archive.xml
index 3f21912..213bc15 100644
--- a/archive/archive.xml
+++ b/archive/archive.xml
@@ -9,6 +9,7 @@
<uri>http://php.net/contact</uri>
<email>php- ... at lists dot php.net</email>
</author>
+ <xi:include href="entries/2017-06-08-2.xml"/>
<xi:include href="entries/2017-06-08-1.xml"/>
<xi:include href="entries/

com web/php: Teach mirror-info.php about sha256: mirror-info.php

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

Log:
Teach mirror-info.php about sha256

MD5 is likely to be deprecated/removed soon,
best to make all the tools ready for that.

Changed paths:
M mirror-info.php

Diff:
diff --git a/mirror-info.php b/mirror-info.php
index 17d9367..0d4e598 100644
--- a/mirror-info.php
+++ b/mirror-info.php
@@ -13,9 +13,19 @@ header("Content-type: text/plain; charset=utf-8");
// Provide information on local stats setup
$mirror_stats = (int) (isset($_SERVER['MIRROR_STATS']) && $_SERVER['MIRROR_STATS'] ==

com web/php: Fix formatting when both md5/sha256 are available: releases/index.php

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

Log:
Fix formatting when both md5/sha256 are available

This should probably be done more cleanly with CSS,
but this is a quick and dirty good-enough fix.

Changed paths:
M releases/index.php

Diff:
diff --git a/releases/index.php b/releases/index.php
index 271c486..848fbde 100644
--- a/releases/index.php
+++ b/releases/index.php
@@ -183,6 +183,9 @@ function mk_rel($major, $ver, $date, $announcement, $source, $windows, $museum)
download_link($src["filename"], $src["name"]); echo "<br

com web/php: Include SHA256 checksums in /releases/feed.php: releases/feed.php

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

Log:
Include SHA256 checksums in /releases/feed.php

Also guard against release entries with no MD5 entry in the future.

Changed paths:
M releases/feed.php

Diff:
diff --git a/releases/feed.php b/releases/feed.php
index b0d2e96..afdeb58 100644
--- a/releases/feed.php
+++ b/releases/feed.php
@@ -48,9 +48,14 @@ XML;
$maxtime[] = $time = strtotime($source["date"]);
$released = date(DATE_ATOM, $time);

+ echo " <link rel=\"enclosure\" title=\"{$source["name"]

com web/php: Include sha256 checksums on /releases page: releases/index.php

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

Log:
Include sha256 checksums on /releases page

Changed paths:
M releases/index.php

Diff:
diff --git a/releases/index.php b/releases/index.php
index 907beac..271c486 100644
--- a/releases/index.php
+++ b/releases/index.php
@@ -184,6 +184,9 @@ function mk_rel($major, $ver, $date, $announcement, $source, $windows, $museum)
if (isset($src["md5"])) {
echo '<span class="md5sum">md5: ' .$src["md5"].

com web/php: Backfill SHA256 checksums for older releases.: include/releases.inc

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

Log:
Backfill SHA256 checksums for older releases.

Downloaded each tarball and verified BOTH its GPG signature and MD5 hash.
If BOTH verify cleanly, added a SHA256 entry.

Changed paths:
M include/releases.inc

com web/php: Set pollita@php.net key to expire: include/gpg-keys.inc

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

Log:
Set <a href="mailto: ... at php dot net"> ... at php dot net</a> key to expire

Changed paths:
M include/gpg-keys.inc

Diff:
diff --git a/include/gpg-keys.inc b/include/gpg-keys.inc
index 9e0a7e6..3d8b295 100644
--- a/include/gpg-keys.inc
+++ b/include/gpg-keys.inc
@@ -6,7 +6,7 @@ $GPG_KEYS = array(
uid Kalle Sommer Nielsen (PHP) &lt; ... at php dot net&gt;
*/
"7.2" => <<< GPG
-pub 4096R/70D12172 2017-04-14
+pub 4096R/70D12172 2017-04-14 [expires: 2024-04-21]
Key fingerprint = 1729 F839 38DA 44E2 7B

com web/php: Encode <> entities in my gpg key (oops): include/gpg-keys.inc

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

Log:
Encode <> entities in my gpg key (oops)

Changed paths:
M include/gpg-keys.inc

Diff:
diff --git a/include/gpg-keys.inc b/include/gpg-keys.inc
index 82ea486..9e0a7e6 100644
--- a/include/gpg-keys.inc
+++ b/include/gpg-keys.inc
@@ -8,7 +8,7 @@ uid Kalle Sommer Nielsen (PHP) &lt; ... at php dot net&gt;
"7.2" => <<< GPG
pub 4096R/70D12172 2017-04-14
Key fingerprint = 1729 F839 38DA 44E2 7BA0 F4D3 DBDB 3974 70D1 2172
-uid Sara Golemon <pollita@

com web/php: Add pollita@php.net PHP 7.2 GPG key fingerprint: include/gpg-keys.inc

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

Log:
Add <a href="mailto: ... at php dot net"> ... at php dot net</a> PHP 7.2 GPG key fingerprint

Changed paths:
M include/gpg-keys.inc

Diff:
diff --git a/include/gpg-keys.inc b/include/gpg-keys.inc
index d5402e0..82ea486 100644
--- a/include/gpg-keys.inc
+++ b/include/gpg-keys.inc
@@ -5,6 +5,12 @@ $GPG_KEYS = array(
Key fingerprint = D620 173D 6924 BA1C 2244 C7C4 1B6B 6676 22FE 5A12
uid Kalle Sommer Nielsen (PHP) &lt; ... at php dot net&gt;
*/
+ "7.2" => <<< GPG
+pub 4096R/70D12172 2017-04-14
+ Key

com web/bugs: Clearer error message when rejecting comment as potential SPAM: www/bug.php

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

Log:
Clearer error message when rejecting comment as potential SPAM

Changed paths:
M www/bug.php

Diff:
diff --git a/www/bug.php b/www/bug.php
index c3635d2..30ee4d4 100644
--- a/www/bug.php
+++ b/www/bug.php
@@ -7,6 +7,8 @@ require_once '../include/prepend.php';
// Start session
session_start();

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

com web/bugs: The selection box will now show the current type of Bug: include/functions.php

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

Log:
The selection box will now show the current type of Bug

Committer's note: I rewrote this from the original PR
at <a href="https://github.com/php/web-bugs/pull/23" title="https://github.com/php/web-bugs/pull/23">https://github.com/php/web-bugs/pull/23</a> for three reasons:
1. The preceeding code usually case folded $current,
but may not depending on the value of $all and $current.
This was likely the source of the original issue being addressed.
By using strcasecmp(), the comparison no longer cares about case.
2.