From: Brian Wolff Date: Fri, 31 Aug 2018 19:32:46 +0000 (+0000) Subject: Add taint annotation to HtmlForm::getHTML() X-Git-Tag: 1.34.0-rc.0~4234 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=2db0dc24382c55228880cc428a6f34c127b8fc3d Add taint annotation to HtmlForm::getHTML() This is to help AbuseFilter pass phan-taint-check. Change-Id: I73a6a626337037f6b0cee04b0afb5a59907d3be6 --- diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index 8e7845914f..9a78fd843b 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -1029,6 +1029,7 @@ class HTMLForm extends ContextSource { * @param bool|string|array|Status $submitResult Output from HTMLForm::trySubmit() * * @return string HTML + * @return-taint escaped */ public function getHTML( $submitResult ) { # For good measure (it is the default)