Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LPS-53607 Sanitize the content in the backend so only some supported tags are allowed #24199

Closed

Conversation

sergiogonzalez
Copy link

Hey Brian,

This is a resend of #24092 (comment)

I have implemented the logic as an OSGI module with a sanitizer. However, it needs to apply to all comments, not only blogs' so I have added it to /modules/apps/comments/ directory.

In order to distinguish between comments and message board messages I have included some extra information to the sanitizer in the options param.

Thanks!

Sergio Gonzalez and others added 12 commits February 20, 2015 12:37
…f message boards. By default new comments will have html format. Keep the old behaviour as a legacy property.
…w very basic markup like <a> <em> <p> <strong> <u>
… portal property and use it for both ckeditor and sanitizer.
Be tollerant about whitespace between delimiters and brackets.
…n it's a message boards message since, at the end, both are using MBMessageLocalService
@sergiogonzalez sergiogonzalez changed the title LPS-53607 Move logic to an OSGI module LPS-53607 Sanitize the content in the backend so only some supported tags are allowed Feb 20, 2015
@brianchandotcom
Copy link
Owner

Merged. Thank you.
View total diff: b94da26...27985dc

@sergiogonzalez sergiogonzalez deleted the LPS-53607_ branch April 18, 2016 20:01
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.

4 participants