[php-maint] Bug#742497: fixed in php5 5.6.0~rc2+dfsg-2
Matt Li
mazzanet at mazzanet.net.au
Fri Jul 18 19:58:09 UTC 2014
This fix seems to be buggy.
The array returned by getallheaders() has an extraneous character
appended to the end of each key name, eg.
<?php
$t = getallheaders();
foreach ($t as $k=>$v) {
echo "[".urlencode($k)."] => ".urlencode($v)."\n";
}
Output:
[Host%00] => [snip]
[Connection%00] => keep-alive
[Cache-Control%00] => max-age%3D0
[Accept%00] =>
text%2Fhtml%2Capplication%2Fxhtml%2Bxml%2Capplication%2Fxml%3Bq%3D0.9%2Cimage%2Fwebp%2C%2A%2F%2A%3Bq%3D0.8
[User-Agent%00] =>
Mozilla%2F5.0+%28Windows+NT+6.1%3B+WOW64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F36.0.1985.125+Safari%2F537.36
[Accept-Encoding%00] => gzip%2Cdeflate%2Csdch
[Accept-Language%00] => en-US%2Cen%3Bq%3D0.8%2Cfr%3Bq%3D0.6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20140719/aab8e9f0/attachment.html>
More information about the pkg-php-maint
mailing list