From 82b8d472f37520d142eee1550178e9ed326c9487 Mon Sep 17 00:00:00 2001 From: Carlos Proensa Date: Tue, 6 Aug 2019 22:30:03 +0200 Subject: [PATCH] Don't force caching of form pages These pages were explicitly setting a flag to make the pages cacheable. Before the changes in 97b745dc102323c312ca27b6fcb8f838c3e50b8f 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 --- bug_change_status_page.php | 2 -- bug_report_page.php | 2 -- bug_update_page.php | 2 -- 3 files changed, 6 deletions(-) diff --git a/bug_change_status_page.php b/bug_change_status_page.php index 309e4ac351..3cd6441e39 100644 --- a/bug_change_status_page.php +++ b/bug_change_status_page.php @@ -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' ); diff --git a/bug_report_page.php b/bug_report_page.php index a5a356faf0..f72226b93c 100644 --- a/bug_report_page.php +++ b/bug_report_page.php @@ -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' ); diff --git a/bug_update_page.php b/bug_update_page.php index 29d2fb2dfc..629c8cc82f 100644 --- a/bug_update_page.php +++ b/bug_update_page.php @@ -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' );