Automattic / Automattic/wp-super-cache

HTTP static pages served to HTTPS resulting in mixed content issues

Open
#954 1 comment 0 reactions 0 assignees View on GitHub
[Plugin] Super Cache bug
Dominant language
PHP
Stars
436
Forks
130
Avg merge
15h 11m
Merged PRs (30d)
10

Description

Reported via w.org slack: https://wordpress.slack.com/archives/core-images/p1458158727000084
supercache creates files for both protocols, i.e. if you go to the home page of a site on http, SC creates index.html, and if you visit using ssl, then you get index-https.html

but for posts/pages not the home page, if you first visit the site on http it creates /sitename/pagename/index.html

and if you then visit on https it ​_doesn’t_​ create another file, it just serves the http version

so all of your assets get blocked

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the HTTP-then-HTTPS page request sequence described in the issue and inspect how Super Cache chooses the cached path for non-home pages. Done means an HTTPS request does not serve the HTTP-generated page or its blocked assets, while the existing home-page protocol behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.