mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 00:43:43 +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_spec.rb | ||
defaults_provider_spec.rb | ||
local_process_provider_spec.rb | ||
type_supervisor_spec.rb | ||
yaml_loader_spec.rb |