View Issue Details

IDProjectCategoryView StatusLast Update
0029616mantisbtbugtrackerpublic2023-10-31 16:32
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Target Version2.26.0Fixed in Version2.26.0 
Summary0029616: collapse_settings cookie is hardcoded
Description

The name of the MANTIS_collapse_settings cookie that stores the open/closed state of the collapsible sections is hardcoded (in collapse_api.php and common.js).

It should be defined as a config variable, using the cookie_prefix, like the other cookies.

TagsNo tags attached.

Relationships

related to 0029611 closeddregad Cookies "SameSite" attribute triggers warnings in Firefox console 

Activities

Related Changesets

MantisBT: master 44d98615

2022-02-17 11:22

dregad


Details Diff
New config 'collapse_settings_cookie'

Issue 0029616
Affected Issues
0029616
mod - config_defaults_inc.php Diff File
mod - docbook/Admin_Guide/en-US/config/cookies.xml Diff File

MantisBT: master 5607da07

2022-02-17 11:34

dregad


Details Diff
Collapse_settings cookie is no longer hardcoded

Use the new collapse_settings_cookie config in
- collapse_api.php
- common.js (exposing config in javascript_config.php).

Fixes 0029616
Affected Issues
0029616
mod - core/collapse_api.php Diff File
mod - javascript_config.php Diff File
mod - js/common.js Diff File