From 3aed5acec14fb73a50b8eeaa1f08695e6e1757e5 Mon Sep 17 00:00:00 2001 From: saper Date: Fri, 23 Sep 2016 22:07:31 +0200 Subject: [PATCH] action=history should return 404 if there is no such page Respects $wgSend404Code if configured. Bug: T146496 Change-Id: I158aae3633db56d432f772ee0aa22c39fd6dc7e5 --- RELEASE-NOTES-1.28 | 2 ++ includes/actions/HistoryAction.php | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/RELEASE-NOTES-1.28 b/RELEASE-NOTES-1.28 index a24f97a1f6..812f309a08 100644 --- a/RELEASE-NOTES-1.28 +++ b/RELEASE-NOTES-1.28 @@ -6,6 +6,7 @@ MediaWiki 1.28 is an alpha-quality branch and is not recommended for use in production. === Configuration changes in 1.28 === +* $wgSend404Code now affects status code of action=history if the page is not there. * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests made by MediaWiki via a proxy. Relying on the http_proxy environment variable is no longer supported. @@ -71,6 +72,7 @@ production. ==== Removed and replaced external libraries ==== === Bug fixes in 1.28 === +* (T146496) action=history pages should return 404 HTTP error code if the page does not exist * (T137264) SECURITY: XSS in unclosed internal links * (T133147) SECURITY: Escape '<' and ']]>' in inline