Skip to content

Conversation

joomlabeat
Copy link

Following up the recent PR #2199 that attempted to fix the Filtering of Textarea element when using Custom Blacklist for Text Filters, this PR improves on top of that, because the call the JFilterInput call from inside the Worker is still forcing to clean up all tags of the default blacklist, because the param $xssAuto of the JFilterInput::getInstance() method gets the default value (1) which forces cleanup, instead of only cleaning the essentials.

Helpful resources:

Following up a recent PR that attempted to fix the Filtering of textarea element when using Custom Blacklist, that was always defaulting to disregarding the Custom BL, this PR improves this, because the call the JFilterInput was still forcing to clean up based on the default blacklist.
Helpful resources:
- https://stackoverflow.com/a/42729709/1739313
- https://api.joomla.org/cms-3/classes/Joomla.CMS.Filter.InputFilter.html#method_getInstance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant