0002_assetexcludedextensionsconfig.py
1.19 KB
-
Add the ability to exclude files from URL canonicalization. · 1183f6ce
To be able to more easily deal with same-origin issues, due to some course assets being loaded in an iframe, we're adding the ability to specify file extensions that should be excluded from URL canonicalization. The default value is simply 'html', which means we won't rewrite asset links that point to files ending in .html. Thus, they'll be loaded from the same origin as the parent page, and voila, no SOP issues.
Toby Lawrence committed