Viewing 2 replies - 1 through 2 (of 2 total)
  • This sounds more like a bug in the CDN router than the plugin, consecutive forward slashes should be trimmed by the server automatically. But anyway, I went ahead and removed the additional character from the code with this commit [1]; they were actually placed by WordPress itself for compatibility reasons.

    Feel free to install the development version of the code from here [2] or wait until the public release of version 1.8.9 which will happen in a couple of weeks.

    Thank you for the report.

    [1] https://github.com/cixtor/sucuri-wordpress-plugin/commit/bd1b249
    [3] https://github.com/cixtor/sucuri-wordpress-plugin

    Thread Starter henriquemattos

    (@henriquemattos)

    Undoubtedly it’s a CDN routing problem. When I was serving straight out of EC2 AMI (Linux) using Apache’s HTTPD I had never noticed it. Only caught my attention because I’ve moved to CloudFront + S3 and it stopped working.

    I’m cherry-picking this commit, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Double slash in URL is breaking plugin JavaScript, CSS and Images’ is closed to new replies.