From c19769b1cd537bf7e96379ccb9ed92d98069b94c Mon Sep 17 00:00:00 2001 From: buddh4 Date: Tue, 7 Jul 2020 18:53:29 +0200 Subject: [PATCH] Fix #4140: Profile field hint is double encoded --- protected/humhub/compat/HForm.php | 2 +- protected/humhub/docs/CHANGELOG.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/protected/humhub/compat/HForm.php b/protected/humhub/compat/HForm.php index 6e9bfda1c7..dfd283fdbb 100644 --- a/protected/humhub/compat/HForm.php +++ b/protected/humhub/compat/HForm.php @@ -343,7 +343,7 @@ class HForm extends \yii\base\Component } if(!empty($definition['hint']) && $field instanceof ActiveField) { - $field->hint(Html::encode($definition['hint'])); + $field->hint(Html::encode($definition['hint'], false)); } return $field; diff --git a/protected/humhub/docs/CHANGELOG.md b/protected/humhub/docs/CHANGELOG.md index 350e341eee..4464ed4993 100644 --- a/protected/humhub/docs/CHANGELOG.md +++ b/protected/humhub/docs/CHANGELOG.md @@ -6,6 +6,7 @@ HumHub Change Log - Fix #4168: Erroneous pagination in notification overview - Fix #4060: Profile description and text regex error message not translatable - Fix #4153: Administration: Email transport configuration 'Save & Test' Gives No Result +- Fix #4140: Profile field hint is double encoded 1.5.2 (May 20, 2020) --------------------