summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcvs2git2003-08-31 19:58:43 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit959eda7e96ca586912c5339d688ffc1196196587 (patch)
tree487282a1b3eef47fe4bfe5e2f67e53199f673b1f
parentb774ae5733353183a034b8992bf14c511c71cf02 (diff)
downloaduebimiau-959eda7e96ca586912c5339d688ffc1196196587.zip
uebimiau-959eda7e96ca586912c5339d688ffc1196196587.tar.gz
This commit was manufactured by cvs2git to create branch 'RA-branch'.
Cherrypick from master 2003-08-31 19:58:43 UTC ciesiel <ciesiel@pld-linux.org> '- uebimiau patch - problem read mesg attachments in ssl': uebimiau-attachment,readmsg.patch -> 1.1
-rw-r--r--uebimiau-attachment,readmsg.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/uebimiau-attachment,readmsg.patch b/uebimiau-attachment,readmsg.patch
new file mode 100644
index 0000000..0bddd93
--- /dev/null
+++ b/uebimiau-attachment,readmsg.patch
@@ -0,0 +1,46 @@
+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
+
+