diff options
author | bouyer <bouyer@pkgsrc.org> | 2001-03-29 16:13:07 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2001-03-29 16:13:07 +0000 |
commit | cbf3ee3ab6bb5c938fbe44d795bb499671cc74eb (patch) | |
tree | ceeab45c401b63fcd5d5fd0d04f431e18c8760c2 /mail | |
parent | 8259dca153f971155cb4c933d071c53070668833 (diff) | |
download | pkgsrc-cbf3ee3ab6bb5c938fbe44d795bb499671cc74eb.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')
-rw-r--r-- | mail/squirrelmail/files/patch-sum | 3 | ||||
-rw-r--r-- | mail/squirrelmail/patches/patch-ab | 14 |
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'; + } + |