forked from CGM_Public/pretix_original
[SECURITY] Fix stored XSS in help texts
This commit is contained in:
committed by
Raphael Michel
parent
6d6883b343
commit
a66fdc5084
@@ -705,7 +705,7 @@ class BaseQuestionsForm(forms.Form):
|
||||
label=label, required=required,
|
||||
min_value=q.valid_number_min or Decimal('0.00'),
|
||||
max_value=q.valid_number_max,
|
||||
help_text=q.help_text,
|
||||
help_text=help_text,
|
||||
initial=initial.answer if initial else None,
|
||||
)
|
||||
elif q.type == Question.TYPE_STRING:
|
||||
|
||||
Reference in New Issue
Block a user