mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 17:09:29 +08:00
![]() 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 |