jenkins-bot has submitted this change and it was merged.

Change subject: Make POST responses uncacheable in all browsers
......................................................................


Make POST responses uncacheable in all browsers

Bug: T75583
Change-Id: I8ac4be1036715a93abd4ced06ba0c881c9b68c9f
---
M includes/View.php
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Matthias Mullie: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/View.php b/includes/View.php
index 6e610c0..6acd39a 100644
--- a/includes/View.php
+++ b/includes/View.php
@@ -75,6 +75,7 @@
                $wasPosted = $request->wasPosted();
                if ( $wasPosted ) {
                        wfProfileIn( __CLASS__ . '-submit' );
+                       $out->enableClientCache( false );
                        $blocksToCommit = $loader->handleSubmit( $this, 
$action, $parameters );
                        if ( $blocksToCommit ) {
                                if ( !$user->matchEditToken( $request->getVal( 
'wpEditToken' ) ) ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/191666
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8ac4be1036715a93abd4ced06ba0c881c9b68c9f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
Gerrit-Reviewer: SG <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to