Closed Bug 972717 Opened 12 years ago Closed 12 years ago

blog posts served overs https should not include images linked to with http

Categories

(Websites Graveyard :: blog.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: heycam, Assigned: nmaul)

Details

Looking at https://blog.mozilla.org/advancingcontent/2014/02/11/publisher-transformation-with-users-at-the-center/ there is a mixed content warning due to the image linked to in the post. Is it possible to set up the blog software so that the image is linked to over https when the post is?
When using the "Add Media" button to embed media in a post, WordPress inserts it with an absolute URL based on the value from the 'siteurl' field. I don't have sufficient access to check the value of that field on blog.m.o but I'm guessing it's set to 'http://blog.mozilla.org'. Changing that to https should, I believe, solve this problem. If that's already been done then something else is behind this and it may need a code fix. There are plugins that can force https URLs or switch embedded media to use relative URLs, either of which would work though the plugin would have to be enabled globally for all blogs. Adding Jake Maul and Chris Turra from IT to help us get to the bottom of this once and for all.
Good guess! This is a per-blog setting, not a per-site one, and the setting for the advancingcontent blog was indeed specifying http://. This should be resolved now. However, it appears that this does *not* affect posts already made... the images contained therein need to be edited to reference https://. I found only one on this blog (there's only 3 posts), and I fixed it manually for you. The mixed content warning is gone now. @craigcook: I haven't audited any other blogs on blogmo for this setting, nor have I audited any other posts on other blogs to see if they're referencing things incorrectly. I'm telling you just so you're aware, in case anyone contacts you about it... it's possible we still have this problem on other blogs, too.
Assignee: nobody → nmaul
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Thanks Jake!
(In reply to Jake Maul [:jakem] from comment #2) > @craigcook: I haven't audited any other blogs on blogmo for this setting, > nor have I audited any other posts on other blogs to see if they're > referencing things incorrectly. I'm telling you just so you're aware, in > case anyone contacts you about it... it's possible we still have this > problem on other blogs, too. Ben Sternthal did a pretty exhaustive audit a while back to fix URLs and mixed content, but this is a newer blog. There may be a few other recent blogs that need their URLs fixed so maybe just check the ones registered since October or so.
Product: Websites → Websites Graveyard
Product: Websites Graveyard → Websites
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.