View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0036990 | mantisbt | ui | public | 2026-03-23 05:12 | 2026-03-23 08:32 |
| Reporter | ninjasec | Assigned To | dregad | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.1.0 | ||||
| Target Version | 2.28.2 | Fixed in Version | 2.28.2 | ||
| Summary | 0036990: Duplicated layout in View Filters Page when filter is not accessible | ||||
| Description | When opening view_filters_page.php with a filter_id parameter set to a non-existent filter or one that the user has no access to, an access denied page is shown. Problem: the page header and sidebar are duplicated, as shown in attached screenshot | ||||
| Steps To Reproduce | Open https://mantisbt.org/bugs/view_filters_page.php?filter_id=11 | ||||
| Additional Information | Originally reported by @ninjasec via Gitter (private chat). Problem was introduced by commit MantisBT master b378aaaf (part of 0021935), which added the access_denied() call after layout_page_begin() was issued. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
|
MantisBT: master-2.28 996e4697 2026-03-23 08:26 Details Diff |
Fix duplicated page layout in view_filters_page.php Issuing page layout too early causes header and sidebar duplication when calling access_denied(), if the filter does not exist or is not accessible. Fixes 0036990 |
Affected Issues 0036990 |
|
| mod - view_filters_page.php | Diff File | ||