mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 05:03:39 +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. |
||
---|---|---|
.. | ||
db_provider.rb | ||
defaults_provider.rb | ||
deprecated_settings.rb | ||
local_process_provider.rb | ||
type_supervisor.rb | ||
validations.rb | ||
yaml_loader.rb |