#acl PaulHowarth:read,write,admin,revert,delete All:read === Tuesday 25th April 2017 === ==== Fedora Project ==== * Updated `perl-IPC-Run` to 0.95 in F-26 and Rawhide: * Enable Travis-CI integration for `IPC::Run` * Use `q{}` and `qq{}` to fix problems with quotation in `cmd.exe` * Sync `$VERSION` across all files to address kwalitee * Stop side effect of altering flushing of `STDOUT` and `STDERR` ([[CPAN:109243|CPAN RT#109243]]) * `CHILD_HANDLE` should be closed with '`Close`' to prevent a warning * Require `Win32API::File` on Windows * Better timer error message plus an additional unit test * Catching previously non-detected malformed time strings * Let `Timer` accept all allowable perl numbers * Allow the OS to choose the ephemeral port to use * Don't use `version.pm `to parse the perl version in `Makefile.PL` * `perltidy` * Do not import `POSIX` into local namespace (it's a memory hog) * Skip infinity test on perl below 5.8.9 * Spelling fixes * Documentation fix: `full_result` returns `$?`, not `$? >> 8` * Fix check for reaped PID in `reap_nb` * Re-remove unnecessary use of `UNIVERSAL` ==== Local Packages ==== * Updated `contagged` (0.8.0) to fix another incompatibility with PHP7 (`preg_replace` with `e` modifier no longer works, leading to the LDAP filter always being set to "`a`" regardless of what's being searched for): . {{{ --- inc/functions.php +++ inc/functions.php @@ -356,12 +356,19 @@ function ldap_store_objectclasses($dn,$c * * Ported from Perl's Net::LDAP::Util escape_filter_value * - * @author Andreas Gohr + * @param string $string The string to be parsed + * @author Andreas Gohr + * @author Modified for PHP55 by Esteban Santana Santana + * @return string */ function ldap_filterescape($string){ - return preg_replace('/([\x00-\x1F\*\(\)\\\\])/e', - '"\\\\\".join("",unpack("H2","$1"))', - $string); + return preg_replace_callback( + '/([\x00-\x1F\*\(\)\\\\])/', + function ($matches) { + return "\\".join("", unpack("H2", $matches[1])); + }, + $string + ); } /** }}} * Updated `perl-IPC-Run` to 0.95 as per the Fedora version * Updated `unrar` (5.50 beta 1) to new upstream tarball 5.5.2 ----