Skip to content

[Survey] fix: Use correct HTMLPurifier to process inputs#11287

Merged
abrahammordev merged 2 commits intoILIAS-eLearning:release_10from
surlabs:ilias10_survey_sanitizer_html
Mar 18, 2026
Merged

[Survey] fix: Use correct HTMLPurifier to process inputs#11287
abrahammordev merged 2 commits intoILIAS-eLearning:release_10from
surlabs:ilias10_survey_sanitizer_html

Conversation

@abrahammordev
Copy link
Contributor

Implement correct HTMLPurifier in Survey

Replaces ILIAS\LegalDocuments\HTMLPurifier with ilSvyStandardPurifier throughout the Survey module to remove the dependency on the LegalDocuments component.

Changes

  • Removed dependency on LegalDocuments\HTMLPurifier
  • Introduced ilSvyStandardPurifier as the Survey-specific sanitizer
  • Applied dependency injection where applicable
  • Unified sanitization logic across affected components

@abrahammordev abrahammordev self-assigned this Mar 18, 2026
@abrahammordev abrahammordev added the php Pull requests that update Php code label Mar 18, 2026
@abrahammordev abrahammordev force-pushed the ilias10_survey_sanitizer_html branch 2 times, most recently from 1161a6a to df6b3b8 Compare March 18, 2026 13:22
@abrahammordev abrahammordev force-pushed the ilias10_survey_sanitizer_html branch from df6b3b8 to 67f792f Compare March 18, 2026 13:28
@abrahammordev abrahammordev merged commit fe09c59 into ILIAS-eLearning:release_10 Mar 18, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant