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

Path containing "highlight.php" directory blocks HTTP requests on some hosts #30

Closed
westonruter opened this issue Jan 28, 2020 · 0 comments · Fixed by #31
Closed

Path containing "highlight.php" directory blocks HTTP requests on some hosts #30

westonruter opened this issue Jan 28, 2020 · 0 comments · Fixed by #31
Labels
bug Something isn't working

Comments

@westonruter
Copy link
Owner

It turns out that on some hosts a URL like:

https://example.com/wp-content/plugins/syntax-highlighting-code-block/vendor/scrivo/highlight.php/styles/default.css

Will get blocked by Nginx due to it thinking that highlight.php is a PHP file, when it is actually a directory.

We should rename the directory to highlight-php when creating a build, perhaps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant