diff --git a/roundcubemail-0.2-beta-CVE-2008-5620.patch b/roundcubemail-0.2-beta-CVE-2008-5620.patch index a7fde95..b6e6ff2 100644 --- a/roundcubemail-0.2-beta-CVE-2008-5620.patch +++ b/roundcubemail-0.2-beta-CVE-2008-5620.patch @@ -1,33 +1,5 @@ ---- /home/limb/rpmbuild/BUILD/roundcubemail-0.2-beta-dep/bin/html2text.php 2008-09-12 06:22:43.000000000 -0500 -+++ html2text.php 2008-12-16 11:21:24.000000000 -0600 -@@ -1,0 +2 @@ -+/* -@@ -3 +4,19 @@ --define('INSTALL_PATH', realpath('./../') . '/'); -+ +-----------------------------------------------------------------------+ -+ | bin/html2text.php | -+ | | -+ | This file is part of the RoundCube Webmail client | -+ | Copyright (C) 2005-2008, RoundCube Dev. - Switzerland | -+ | Licensed under the GNU GPL | -+ | | -+ | PURPOSE: | -+ | Convert HTML message to plain text | -+ | | -+ +-----------------------------------------------------------------------+ -+ | Author: Thomas Bruederli | -+ +-----------------------------------------------------------------------+ -+ -+ $Id: html2text.php 2070 2008-11-20 10:29:34Z alec $ -+ -+*/ -+ -+define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/'); -@@ -6 +25 @@ --$converter = new html2text(html_entity_decode($HTTP_RAW_POST_DATA, ENT_COMPAT, 'UTF-8')); -+$converter = new html2text($HTTP_RAW_POST_DATA); ---- /home/limb/rpmbuild/BUILD/roundcubemail-0.2-beta-dep/bin/quotaimg.php 2008-09-12 11:48:23.000000000 -0500 -+++ quotaimg.php 2008-12-16 11:21:30.000000000 -0600 +--- bin/quotaimg.php.orig 2008-09-12 11:48:23.000000000 -0500 ++++ bin/quotaimg.php 2008-12-16 11:21:30.000000000 -0600 @@ -4 +4 @@ - | program/bin/quotaimg.php | + | bin/quotaimg.php |