View Issue Details

IDProjectCategoryView StatusLast Update
0013286mantisbtplug-inspublic2024-01-25 16:34
Reportermeeuw Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version1.2.1 
Summary0013286: Cannot change g_allow_browser_cache for plugin.php
Description

g_allow_browser_cache is read before a plugin.php page is loaded, it doesn't matter what a plugin.php page does with g_allow_browser_cache because core.php is required once.

Steps To Reproduce
  1. Create a plugin page (plugins/name/pages/page.php)
  2. <?php $g_allow_browser_cache = 1; require_once('core.php'); ?>
  3. The headers for allow_browser_cache aren't sent.
TagsNo tags attached.

Relationships

related to 0025969 closedcproensa bug_report_page is forced to be cached 

Activities

dregad

dregad

2024-01-07 12:10

developer   ~0068425

It's true that today it's not possible to have plugin pages disable cache. But the question is, why would you need / want to do that ?

For the record, this used to be done for some form-submitting pages in the past, but that was removed several years ago, see 0025969.

We are resolving this issue as "no change required", because it was reported against an old version of MantisBT which is no longer supported.

We recommend that you upgrade to the latest stable version [1]; if after doing so the problem still exists, do not hesitate to reopen the issue.

[1] http://www.mantisbt.org/download.php