Patch do Uebimiau

Andree andree at luch.eu.org
Sun Aug 31 19:58:41 CEST 2003


Znalazlem rozwiazanie dwoch problemow dotyczacych
uebimiau-2.7.8-RC1 (czytanie niektorych maili,
blad pobierania zalacznikow w trybie https).
W zalaczniku przesylam patcha do tych bledow i aktualizacje speca.

Testowalem u siebie i wszystko jest ok, prosze o wrzucenie tego na cvs.

pozdrawiam
Andree

________________________________________________
Message sent using UebiMiau 2.7.8
-------------- next part --------------
diff -Nur kopia/download.php new/download.php
--- kopia/download.php	Fri Aug 29 23:42:52 2003
+++ new/download.php	Sat Aug 30 23:30:42 2003
@@ -9,7 +9,8 @@
 São Paulo - Brasil
 *************************************************************************/
 
-
+
ini_set("session.cache_limiter","public");
+$forcecache = "yes";
 // load session management
 require("./inc/inc.php");
 // check for all parameters
diff -Nur kopia/inc/class.uebimiau.php new/inc/class.uebimiau.php
--- kopia/inc/class.uebimiau.php	Fri Aug 29 23:42:52 2003
+++ new/inc/class.uebimiau.php	Sat Aug 30 23:39:12 2003
@@ -151,7 +151,8 @@
 	function convert_charset($string, $from, $to) {
 		$string = htmlentities($string, ENT_COMPAT, $from);
 		if(function_exists('html_entity_decode')) { //PHP 4.3+
-			return html_entity_decode($string, ENT_COMPAT, $to);
+			$string = html_entity_decode($string, ENT_COMPAT, $to);
+			return $string;
 		} else {
 			$trans_tbl = get_html_translation_table (HTML_ENTITIES);
 			$trans_tbl = array_flip ($trans_tbl);
diff -Nur kopia/inc/inc.php new/inc/inc.php
--- kopia/inc/inc.php	Fri Aug 29 23:42:52 2003
+++ new/inc/inc.php	Sat Aug 30 23:29:38 2003
@@ -148,6 +148,8 @@
 /*
 Don't remove the fallowing lines, or you will be problems with browser's cache 
 */
+if($forcecache != "yes")
+{
 Header("Expires: Wed, 11 Nov 1998 11:11:11 GMT\r\n".
 "Cache-Control: no-cache\r\n".
 "Cache-Control: must-revalidate\r\n".
@@ -157,6 +159,7 @@
 <META HTTP-EQUIV=\"Cache-Control\" CONTENT=\"no-cache\">
 <META HTTP-EQUIV=\"Expires\" CONTENT=\"-1\">
 <META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">";
+}
 // Sort rules
 
 
-------------- next part --------------
diff -Nur old/uebimiau.spec new/uebimiau.spec
--- old/uebimiau.spec	Thu Aug 14 10:50:59 2003
+++ new/uebimiau.spec	Sun Aug 31 18:38:00 2003
@@ -9,6 +9,7 @@
 Group:		Applications/Mail
 Vendor:		Aldoir Ventura <aldoir at users.sourceforge.net>
 Source0:	http://www.uebimiau.org/downloads/%{name}-%{version}-%{sub_ver}-any.tar.gz
+Patch0:         uebimiau-attachment,readmsg.patch
 # Source0-md5:	20e355ef9535deb49b8866cd93b661af
 URL:		http://www.uebimiau.org/
 Requires:	php
@@ -33,6 +34,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}-%{sub_ver}-any
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -79,6 +81,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log: uebimiau.spec,v $
+Revision 1.13  2003/08/31 18:31:00  Andree
+- added patch (problem reading mails, problem downloading attachments in ssl)
+
 Revision 1.12  2003/08/14 08:50:59  ciesiel
 - upgraded to version 2.7.8 RC1
 


More information about the pld-devel-pl mailing list