summaryrefslogtreecommitdiff
path: root/mail/squirrelmail
diff options
context:
space:
mode:
authorbouyer <bouyer>2001-03-29 16:13:07 +0000
committerbouyer <bouyer>2001-03-29 16:13:07 +0000
commitf40177d081f356faee5416fe7ee16918b8464e27 (patch)
treeceeab45c401b63fcd5d5fd0d04f431e18c8760c2 /mail/squirrelmail
parentaaee43d8f6e00eb9851a458043a8347dad881d66 (diff)
downloadpkgsrc-f40177d081f356faee5416fe7ee16918b8464e27.tar.gz
Patch from the squirrelmail cvs repository:
Revision 1.46.2.1: * UW workaround improved, methinks (1.0 branch) Fixes a problem when used with imap-uw: 1.0.3 couldn't read folders in subdirectories.
Diffstat (limited to 'mail/squirrelmail')
-rw-r--r--mail/squirrelmail/files/patch-sum3
-rw-r--r--mail/squirrelmail/patches/patch-ab14
2 files changed, 16 insertions, 1 deletions
diff --git a/mail/squirrelmail/files/patch-sum b/mail/squirrelmail/files/patch-sum
index 527089dbb9c..c2c3494f053 100644
--- a/mail/squirrelmail/files/patch-sum
+++ b/mail/squirrelmail/files/patch-sum
@@ -1,3 +1,4 @@
-$NetBSD: patch-sum,v 1.2 2001/02/02 19:39:19 jlam Exp $
+$NetBSD: patch-sum,v 1.3 2001/03/29 16:13:07 bouyer Exp $
MD5 (patch-aa) = 4754d03a2afe569d8ed02ab018b07c89
+MD5 (patch-ab) = 78d3ffffef59d1fd7d81d9ea6fda11ae
diff --git a/mail/squirrelmail/patches/patch-ab b/mail/squirrelmail/patches/patch-ab
new file mode 100644
index 00000000000..8b45e3fe5b4
--- /dev/null
+++ b/mail/squirrelmail/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2001/03/29 16:13:08 bouyer Exp $
+
+--- src/right_main.php.orig Thu Mar 29 17:22:25 2001
++++ src/right_main.php Thu Mar 29 17:20:01 2001
+@@ -81,7 +81,8 @@
+ }
+
+ // compensate for the UW vulnerability
+- if ($imap_server_type == 'uw' && strstr($mailbox, '/')) {
++ if ($imap_server_type == 'uw' && (strstr($mailbox, '../') ||
++ substr($mailbox, 0, 1) == '/')) {
+ $mailbox = 'INBOX';
+ }
+