mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-20 20:02:43 +00:00
Fix unescaped i18n message use in captcha label
Bug: T373732
Change-Id: Ib9079feead4bfe0f1fd2c832c6cabb6eb7149534
(cherry picked from commit 42d4f55cf6
)
This commit is contained in:
parent
23e06da3b0
commit
c794c13a01
|
@ -86,8 +86,8 @@ class HTMLFancyCaptchaField extends HTMLFormField {
|
|||
public function getLabel() {
|
||||
// slight abuse of what getLabel() should mean; $mLabel is used for the pre-label text
|
||||
// as the actual label is always the same
|
||||
return $this->mParent->msg( 'captcha-label' )->text() . ' '
|
||||
. $this->mParent->msg( 'fancycaptcha-captcha' )->text();
|
||||
return $this->mParent->msg( 'captcha-label' )->escaped() . ' '
|
||||
. $this->mParent->msg( 'fancycaptcha-captcha' )->escaped();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue