From: umherirrender Date: Thu, 29 Jan 2015 21:00:02 +0000 (+0100) Subject: Escape message 'redirectto' in Article X-Git-Tag: 1.31.0-rc.0~12317^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=3ae1a6f80f0eb03dfb0a8652a8d66d04025da1c0;p=lhc%2Fweb%2Fwiklou.git Escape message 'redirectto' in Article Bug: T85864 Change-Id: Ic4fcb40de844ac51c88fb51d752a4c286313ecf9 --- diff --git a/includes/page/Article.php b/includes/page/Article.php index f04201c294..b25f884ead 100644 --- a/includes/page/Article.php +++ b/includes/page/Article.php @@ -1496,7 +1496,7 @@ class Article implements Page { } $html .= ''; - $redirectToText = wfMessage( 'redirectto' )->inLanguage( $lang )->text(); + $redirectToText = wfMessage( 'redirectto' )->inLanguage( $lang )->escaped(); return '
' . '

' . $redirectToText . '

' .