Skip to content

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

@westonruter

Description

@westonruter

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions