phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [Bug #1785] Wrong path specification in cookies


From: nobody
Subject: [Phpgroupware-tracker] [Bug #1785] Wrong path specification in cookies
Date: Fri, 22 Nov 2002 20:25:59 -0500

=================== BUG #1785: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1785&group_id=509

Submitted by: None                      Project: phpGroupWare                   
Submitted on: 2002-Nov-22 20:25
Category:  API - phpGWapi               Bug Group:  0.9.14 release              
Severity:  5 - Major                    Priority:  High                         
Resolution:  None                       Assigned to:  None                      
Status:  Open                           Component Version:  CVS                 
Platform Version:  BSD                  Reproducibility:  Every Time            

Summary:  Wrong path specification in cookies

Original Submission:  phpgw sets cookies after user login. But all cookies are 
set to path '/' which may differ from actual installation.

This path is hardcoded in phpgwapi/inc/class.sessions_*.inc.php in function 
phpgw_setcookie(). The correct behaviour should be extracting path from 
$GLOBALS['phpgw_info']['server']['webserver_url'].

In my particular case phpgw installation interfered with mailman installation 
on the same server. Mailman does not allow setting of cookie `domain', but as 
phpgw set it with path '/', mailman received it and signalled an error.



No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1785&group_id=509




reply via email to

[Prev in Thread] Current Thread [Next in Thread]