diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-07-25 17:15:35 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-07-25 17:15:35 +0200 |
commit | 3fe668c05a6d1556ff0d945953fff65de2276732 (patch) | |
tree | 258ead886a835b551f8adefea47a422caabbd654 | |
parent | 8746b22eb9eb290ed4dbb2aaf86bfbe833fa6208 (diff) |
horde: minor cleanups
-rw-r--r-- | Horde_Mime_php55.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Horde_Mime_php55.patch b/Horde_Mime_php55.patch deleted file mode 100644 index b423638..0000000 --- a/Horde_Mime_php55.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- lib/Horde/Mime.php.old 2012-12-21 16:08:45.404417508 +0100 -+++ lib/Horde/Mime.php 2012-12-21 16:23:13.987453259 +0100 -@@ -290,8 +290,9 @@ - switch ($encoding) { - case 'Q': - case 'q': -+ $callback = function($hex) { return chr(base_convert($hex[1],16,10)); }; - $out .= Horde_String::convertCharset( -- preg_replace('/=([0-9a-f]{2})/ie', 'chr(0x\1)', str_replace('_', ' ', $encoded_text)), -+ preg_replace_callback('/=([0-9a-f]{2})/i', $callback, str_replace('_', ' ', $encoded_text)), - $orig_charset, - 'UTF-8' - ); |