View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003504 | mantisbt | bugtracker | public | 2004-01-12 18:57 | 2004-07-08 07:09 |
Reporter | ndeboer | Assigned To | vboctor | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.18.0 | ||||
Fixed in Version | 0.19.0a1 | ||||
Summary | 0003504: project cookie not cleared at logout | ||||
Description | The project cookie is nog cleared at logout which gets the user back at the last project instead of the prefered project. Other cookies are probably also not cleared. | ||||
Steps To Reproduce | Login, set prefered project, change project to other, logout and re-login. | ||||
Tags | No tags attached. | ||||
Attached Files | helper_api.diff (545 bytes)
192,194c192,201 < gpc_clear_cookie( 'project_cookie' ); < gpc_clear_cookie( 'view_all_cookie' ); < gpc_clear_cookie( 'manage_cookie' ); --- > $t_cookie_path = config_get( 'cookie_path' ); > > $t_cookie_name = config_get( 'project_cookie' ); > gpc_clear_cookie( $t_cookie_name, $t_cookie_path ); > > $t_cookie_name = config_get( 'view_all_cookie' ); > gpc_clear_cookie( $t_cookie_name, $t_cookie_path ); > > $t_cookie_name = config_get( 'manage_cookie' ); > gpc_clear_cookie( $t_cookie_name, $t_cookie_path ); | ||||
The function "helper_clear_pref_cookies" in file "core/helper_api.php" is not correct. I have rewritten it to: --------------------Clear all known user preference cookiesfunction helper_clear_pref_cookies() {
} |
|
I have attached the diff file to this bug. Please apply this code to CVS. Thanks. |
|
Fixed in CVS. Will be included in 0.19.0. |
|
MantisBT: master 6a9bedf9 2004-05-17 11:09 Details Diff |
Fix 0003504: project cookie not cleared at logout M core/helper_api.php - (helper_clear_pref_cookies): Function was clearing cookies using the wrong cookie names. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2544 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
Affected Issues 0003504 |
|
mod - doc/ChangeLog | Diff File |