mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 22:05:48 +08:00
5e4c0e2caa
To add an extra layer of security, we sanitize settings before shipping them to the client. We don't sanitize those that have the "html" type. The CookedPostProcessor already uses Loofah for sanitization, so I chose to also use it for this. I added it to our gemfile since we installed it as a transitive dependency. |
||
---|---|---|
.. | ||
bool.hbs | ||
category-list.hbs | ||
category.hbs | ||
color.hbs | ||
compact-list.hbs | ||
emoji-list.hbs | ||
enum.hbs | ||
group-list.hbs | ||
host-list.hbs | ||
html.hbs | ||
list.hbs | ||
secret-list.hbs | ||
simple-list.hbs | ||
string.hbs | ||
tag-list.hbs | ||
upload.hbs | ||
uploaded-image-list.hbs | ||
url-list.hbs | ||
value-list.hbs |