Skip to content

wiki: load embedded images over https to avoid mixed content - #103

Open
triuzzi wants to merge 1 commit into
golang:masterfrom
triuzzi:fix/wiki-image-https
Open

triuzzi wants to merge 1 commit into
golang:masterfrom
triuzzi:fix/wiki-image-https

Conversation

@triuzzi

@triuzzi triuzzi commented Jul 23, 2026

Copy link
Copy Markdown

Problem

Mobile.md and GoArm.md embed screenshots via http:// URLs. Because https://go.dev is served over HTTPS, these are mixed content: browsers either block the request or must silently upgrade it, so the images can fail to display.

Affected references:

  • Mobile.md — 4× http://i.imgur.com/…
  • GoArm.md — 1× http://farm8.staticflickr.com/…

Fix

Switch the five references to https://. Each host already serves the identical file over HTTPS (verified: imgur → 200 image/png, flickr → 200 image/jpeg), so this is a scheme-only change with no other content edits.

Companion to #102, which fixes the /blob/ module-diagram images. Together they make every embedded image on the wiki load reliably on the HTTPS site.

Mobile.md and GoArm.md embedded screenshots via http:// URLs. On the
HTTPS go.dev site these are mixed content: browsers block them or must
silently upgrade the request, so the images can fail to display.

Switch the five image references (four i.imgur.com, one
farm8.staticflickr.com) to https://. All five hosts already serve the
same files over https.
@gopherbot

Copy link
Copy Markdown

This PR (HEAD: 1e25e5c) has been imported to Gerrit for code review.

Please visit Gerrit at https://go-review.googlesource.com/c/wiki/+/804800.

Important tips:

  • Don't comment on this PR. All discussion takes place in Gerrit.
  • You need a Gmail or other Google account to log in to Gerrit.
  • To change your code in response to feedback:
    • Push a new commit to the branch used by your GitHub PR.
    • A new "patch set" will then appear in Gerrit.
    • Respond to each comment by marking as Done in Gerrit if implemented as suggested. You can alternatively write a reply.
    • Critical: you must click the blue Reply button near the top to publish your Gerrit responses.
    • Multiple commits in the PR will be squashed by GerritBot.
  • The title and description of the GitHub PR are used to construct the final commit message.
    • Edit these as needed via the GitHub web interface (not via Gerrit or git).
    • You should word wrap the PR description at ~76 characters unless you need longer lines (e.g., for tables or URLs).
  • See the Sending a change via GitHub and Reviews sections of the Contribution Guide as well as the FAQ for details.

@gopherbot

Copy link
Copy Markdown

Message from Sean Liao:

Patch Set 1:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/804800.
After addressing review feedback, remember to publish your drafts!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants