mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 20:26:35 +08:00
174a8b431b
Raw paths like `/test/path` are not supported natively in the CSP. This commit prepends the site's base URL to these paths. This allows plugins to add 'local' assets to the CSP without needing to hardcode the site's hostname. |
||
---|---|---|
.. | ||
color_definition | ||
csp_extension | ||
custom_locales | ||
my_plugin | ||
scss_plugin |