Skip to content

Commit

Permalink
Don't force caching of form pages
Browse files Browse the repository at this point in the history
These pages were explicitly setting a flag to make the pages cacheable.
Before the changes in 97b745d
the expiration headers were not being correctly set, however after that
commit, the issue is fixed and these pages have become cacheable
This causes undesired effects.

Since the previos status of this scenario is that the pages were not
being cached anyway, we are removing the explicit $g_allow_browser_cache
flag.

Fixes: #25969
  • Loading branch information
cproensa authored and vboctor committed Aug 13, 2019
1 parent b5857e4 commit 82b8d47
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions bug_change_status_page.php
Expand Up @@ -41,8 +41,6 @@
* @uses version_api.php
*/

$g_allow_browser_cache = 1;

require_once( 'core.php' );
require_api( 'access_api.php' );
require_api( 'authentication_api.php' );
Expand Down
2 changes: 0 additions & 2 deletions bug_report_page.php
Expand Up @@ -49,8 +49,6 @@
* @uses version_api.php
*/

$g_allow_browser_cache = 1;

require_once( 'core.php' );
require_api( 'access_api.php' );
require_api( 'authentication_api.php' );
Expand Down
2 changes: 0 additions & 2 deletions bug_update_page.php
Expand Up @@ -46,8 +46,6 @@
* @uses version_api.php
*/

$g_allow_browser_cache = 1;

require_once( 'core.php' );
require_api( 'access_api.php' );
require_api( 'authentication_api.php' );
Expand Down

0 comments on commit 82b8d47

Please sign in to comment.