Opened 6 years ago

Closed 6 years ago

#1484670 closed Bugs (fixed)

strange IMAP behavior

Reported by: _Petya_ Owned by:
Priority: 5 Milestone: 0.1-stable
Component: IMAP connection Version: 0.1-rc2
Severity: major Keywords: imap login fail strange
Cc:

Description

Hi!

I'm using the latest stable release of RC, with Courier-IMAP, and I have the following issue:

I login first to RC, it works well, I can see the successful IMAP login in the logs. I click to Personal Settings, then back to E-Mail, RC starts loading, screen goes blank, and after 2 minutes (script timeout) it stops at a blank page. RC logs timeout in the IMAP module, and in the syslog I see falied IMAP logins. I can only use RC again if I wait 10 minutes for the session timeout, or drop my session from the MySQL table 'sessions'.

The strange thing is, that at first time (after login to RC), it authenticates correctly to IMAP eg: username = "john", but at all subsequent attempts (like clicking back from "Personal Settings" to "E-mail"), it tries to login to IMAP with username = "john@localhost", which will fail eventually.

Why RC is doing this?

(Squirrelmail works on the same machine perfectly...)

Petya

Change History (1)

comment:1 Changed 6 years ago by thomasb

  • Milestone set to 0.1-stable
  • Resolution set to fixed
  • Status changed from new to closed

program/steps/settings/func.inc sets a global var named "$username". Looks like this overrides the session var also named "username" in register_globals is on. Fixed in [82cd5cdb]

Note: See TracTickets for help on using tickets.