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

Do not support literal HTML in the Administration Interface #127

Merged
merged 1 commit into from
Dec 18, 2018

Conversation

peterkeung
Copy link
Member

Many sites support literal HTML for front-end sites. However, we have found this to be nothing but damaging for the Administration Interface, whether that's JavaScript breaking the functionality or CSS breaking the layout. The simple fix is to disable support for the "html" literal tag class in the Administration Interface.

@pkamps
Copy link
Member

pkamps commented Dec 15, 2018

So the difference is that you "wash" the output only for the admin interface. Makes sense to me.
+1

@benkmugo
Copy link
Member

+1 on this. Especially since I have previously managed to break the admin interface with a literal HTML snippet myself without realizing straight away.

@pkamps
Copy link
Member

pkamps commented Dec 18, 2018

Upstream pull request:
ezsystems#1408

@pkamps pkamps merged commit d265434 into mugoweb:master Dec 18, 2018
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.

3 participants