[imp] Netscape 4.7x and IMP 3.1 bug? - FIX (STRANGE)

Peter Sanchez psanchez@nmia.com
Wed, 17 Jul 2002 12:33:19 -0700


Any idea on whats causing it. Im a lil worried as well cause we have had
users in the past (with previous versions of IMP) complain about IMP
deleting messages it wasnt supposed to. It looks like this is the fix
for it, now uncommenting it exposes them to the previous bug. There has
got to be something im missing somewhere that can fix this. I tried
doing a straight header("Location:
http://www.domain.com/horde/imp/mailbox.php"); instead of the one in the
code but I get the same issue. Any more ideas?

Peter

On Wed, Jul 17, 2002 at 02:24:05PM -0400, Allan Wagers wrote:
> I have the same problem with IE 6.0
> 
> Quoting Peter Sanchez <psanchez@nmia.com>:
> 
> > Hrmm, if I comment out the if() statement on line 153 of mailbox.php it
> > fixes the issue I stated below. Here is my current 
> > 'case DELETE_MESSAGES:' code:
> > 
> >  case DELETE_MESSAGES:
> >      if (!empty($indices)) {
> >          IMP_Message::delete($indices);
> >          // 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'));
> >              exit;
> >          }*/
> >      }
> >      break;
> > 
> > It has fixed my last and (hopefully) final bug. Strange how it only
> > effected Netscape 4.7x though. Oh well. If anyone has any other ideas or
> > input please let me know. Thanks!
> > 
> > Peter
> > 
> > On Wed, Jul 17, 2002 at 10:59:31AM -0700, Peter Sanchez wrote:
> > > I upgraded to IMP 3.1 yesterday and have stumbled onto a weird issue. We
> > > are running IMP 3.1, Horde 2.1 and Turba 1.1, qmail and cucipop (POP3). It
> > 
> > > seems when using Netscape 4.7x and you try to delete a message netscape
> > > responds with the error "Document contains no data, contact the server
> > > admin" or "Document is of 0 length, contact the server admin" depending
> > > on the version. The email actually does get deleted however.
> > > 
> > > I have verified my users report of this on Windows 98/2K and FreeBSD
> > > 4.6-STABLE. If I logout and relogin using internet explorer I have NO
> > > issues. Same for Netscape 6 or Mozilla, no issues at all. It seems to be
> > > an issue on in Netscape 4.7x. Has anyone seen this? It only started
> > > after the upgrade to 3.1. I (like always) kept a backup of the old 3.0
> > > install and put it back and tested.. worked fine.. put back the 3.1
> > > install and the same issue. Any ideas?
> > > 
> > > Peter
> > > 
> > > -- 
> > > IMP mailing list
> > > Frequently Asked Questions: http://horde.org/faq/
> > > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> > 
> > -- 
> > IMP mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> > 
> 
> 
> Floyd A. Wagers CCNA
> Joyce / Dayton Corp.
> Network/PC Manager