Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify turnitintooltwo to not serve files directly #642

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

katerynadegtyariova
Copy link

The files css, png, svg, woff and woff2 should be served through pluginfile.php to make Varnish caching easier (no need to re-configure Varnish).
The URLs in css files do not need to be changed if these css files are obtained via pluginfile.php because the URLs will be automatically replaced.
The patch adds a new file area 'direct' to only allow reading 'css','svg', 'png', 'woff' and 'woff2' file types.

The files css, png, svg, woff and woff2 should be served through pluginfile.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants