jenkins-bot has submitted this change and it was merged. Change subject: Log violations of load.php's no-session constraint ......................................................................
Log violations of load.php's no-session constraint Bug: T127233 Change-Id: I3d9538b36f707ed69c2d163ccf1f807af4b02fc0 --- M load.php 1 file changed, 5 insertions(+), 0 deletions(-) Approvals: Gergő Tisza: Looks good to me, approved jenkins-bot: Verified diff --git a/load.php b/load.php index c6452fb..d30a348 100644 --- a/load.php +++ b/load.php @@ -24,6 +24,11 @@ use MediaWiki\Logger\LoggerFactory; +// This endpoint is supposed to be independent of request cookies and other +// details of the session. Log warnings for violations of the no-session +// constraint. +define( 'MW_NO_SESSION', 'warn' ); + require __DIR__ . '/includes/WebStart.php'; // URL safety checks -- To view, visit https://gerrit.wikimedia.org/r/273372 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3d9538b36f707ed69c2d163ccf1f807af4b02fc0 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Anomie <[email protected]> Gerrit-Reviewer: BryanDavis <[email protected]> Gerrit-Reviewer: Gergő Tisza <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
