From 21afe2e20f361fd6055007176dac19a99e876894 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 6 Jan 2006 21:03:50 +0000 Subject: [PATCH] * (bug 4507) Adjust FULLPAGENAMEE escaping to standard form --- RELEASE-NOTES | 1 + includes/Parser.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index f6b1dfa0ea..7509a20fa3 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -410,6 +410,7 @@ fully support the editing toolbar, but was found to be too confusing. MIME type to the default blacklist. Prevented inline display of images which are not of known image types. This is in response to http://en.wikipedia.org/wiki/Windows_Metafile_vulnerability +* (bug 4507) Adjust FULLPAGENAMEE escaping to standard form === Caveats === diff --git a/includes/Parser.php b/includes/Parser.php index cd8fd80359..abd372c322 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1961,7 +1961,7 @@ class Parser case MAG_FULLPAGENAME: return $this->mTitle->getPrefixedText(); case MAG_FULLPAGENAMEE: - return wfUrlencode( $this->mTitle->getPrefixedText() ); + return $this->mTitle->getPrefixedURL(); case MAG_REVISIONID: return $this->mRevisionId; case MAG_NAMESPACE: -- 2.20.1