[bugs] [Bug 1072] New - Deleting messages from Inbox screen on POP3 server does not refresh inbox correctly

bugs@bugs.horde.org bugs@bugs.horde.org
Thu Oct 10 18:23:16 2002


http://bugs.horde.org/show_bug.cgi?id=1072

*** shadow/1072	Thu Oct 10 14:23:16 2002
--- shadow/1072.tmp.22083	Thu Oct 10 14:23:16 2002
***************
*** 0 ****
--- 1,33 ----
+ Bug#: 1072
+ Product: Horde
+ Version: 2.1 Unstable
+ Platform: Netscape 4.0.x
+ OS/Version: other
+ Status: NEW   
+ Resolution: 
+ Severity: normal
+ Priority: P2
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck@horde.org                            
+ ReportedBy: ken@ineffable.com               
+ URL: 
+ Summary: Deleting messages from Inbox screen on POP3 server does not refresh inbox correctly
+ 
+ This is reported against IMP3.1.  Some further details about the error can be
+ found at
+ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=164152&repeatmerged=yes .  I've
+ been able to work around the problem with the following patch:
+ 
+ --- /usr/share/horde2/imp/mailbox.php.orig	2002-10-10 12:04:55.000000000 -0500
+ +++ /usr/share/horde2/imp/mailbox.php	2002-10-10 12:00:01.000000000 -0500
+ @@ -151,7 +151,7 @@
+           // For POP3, redirect so that refreshing the page doesn't
+           // delete more messages accidentally.
+           if ($imp['base_protocol'] == 'pop3') {
+ -             header('Location: ' . Horde::applicationUrl('mailbox.php'));
+ +             header('Location: ' . Horde::applicationUrl('mailbox.php',true,true));
+               exit;
+           }
+       }
+