EBernhardson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/191666
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/66/191666/1
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: newchange
Gerrit-Change-Id: I8ac4be1036715a93abd4ced06ba0c881c9b68c9f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits