19 messages in net.sourceforge.lists.courier-usersRe: [courier-users] SQWebmail bug? (C...
FromSent OnAttachments
Binand SethumadhavanApr 12, 2006 12:44 am 
Sam VarshavchikApr 12, 2006 3:50 am 
Ben KennedyApr 12, 2006 7:13 am 
Sam VarshavchikApr 12, 2006 3:31 pm 
Ben KennedyApr 12, 2006 4:22 pm 
Sam VarshavchikApr 12, 2006 4:27 pm 
Binand SethumadhavanApr 12, 2006 11:10 pm 
Sam VarshavchikApr 13, 2006 3:20 am 
Ben KennedyApr 13, 2006 9:58 am 
JPApr 13, 2006 10:51 am 
Gordon MessmerApr 13, 2006 1:45 pm 
Sam VarshavchikApr 13, 2006 3:15 pm 
Sam VarshavchikApr 13, 2006 3:15 pm 
Alessandro VeselyApr 14, 2006 1:07 am 
Sam VarshavchikApr 14, 2006 5:59 am 
Ben KennedyApr 14, 2006 7:30 am 
Alessandro VeselyApr 18, 2006 2:18 am 
Sam VarshavchikApr 18, 2006 3:52 am 
Alessandro VeselyApr 18, 2006 8:41 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] SQWebmail bug? (Cookies cause SQWebmail not to work)Actions...
From:Alessandro Vesely (ves@tana.it)
Date:Apr 18, 2006 8:41:39 am
List:net.sourceforge.lists.courier-users

Sam Varshavchik wrote:

Alessandro Vesely writes:

Sam Varshavchik wrote:

Alessandro Vesely writes:

However, why shouldn't webmail just discard unwanted cookies, rather than storing them in the environment?

All cookies get stuffed into a single header. The header needs to be parsed first, but this can't be done at this early stage of the game.

What early stage are you talking about, Apache setting HTTP_COOKIE? (I thought the failure was somewhere in webmail code...)

At the stage where the CGI stub connects to sqwebmaild via the socket, and transmits the CGI environment, and the HTTP request.

Ooops, I overlooked that (since 2003-11-01? Good Grief!) I guess it's not possible to run sqwebmail without CGI stub.

One could patch send_environment() to solve exactly this problem, as an alternative to using mod_rewrite to delete unwanted cookies. Not a smart option, unless the CGI stub evolves into something that allows more customizations (e.g. a PHP extension? Hmmm...)