mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 08:43:25 +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. |
||
---|---|---|
.. | ||
builder.rb | ||
default.rb | ||
extension.rb | ||
middleware.rb |