#33547 closed defect (bug) (wontfix)
Smilies are served over http instead of https and create mixed content when logged in
| Reported by: | Strzyga | Owned by: | johnbillion |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Posts, Post Types | Version: | |
| Severity: | normal | Keywords: | needs-patch needs-unit-tests https bulk-reopened |
| Cc: | Focuses: | administration |
Description
When I'm logged in into admin panel and view my website, the smilies are served over http instead of https which causes that there is mixed content and no graphics are displayed on the website at all.
Attachments (1)
Change History (11)
#1
@
11 years ago
- Component General → Posts, Post Types
- Focuses administration added
- Keywords reporter-feedback added
#2
@
11 years ago
- Keywords has-patch dev-feedback added
- Milestone Awaiting Review → 4.4
33547.diff supports a new scheme, none, to produce scheme-less URLs. Smilies could pass none to includes_url()
#3
@
11 years ago
I proposed the same in #28632.
This looks like includes_url() is at fault. Is anything else that uses includes_url() from within the admin context affected?
#4
@
11 years ago
fwiw scheme-less url's were mentioned on slack the other day in an HTTP/2 discussion, and @tollmanz commented how they were an anti-pattern nowadays. https://wordpress.slack.com/archives/core/p1441918729000823
a few posts below, @eric posted a really good link discussing it http://www.paulirish.com/2010/the-protocol-relative-url/
"Now that SSL is encouraged for everyone and doesn’t have performance concerns, this technique is now an anti-pattern. If the asset you need is available on SSL, then always use the https:// asset.
Allowing the snippet to request over HTTP opens the door for attacks like the recent Github Man-on-the-side attack. It’s always safe to request HTTPS assets even if your site is on HTTP, however the reverse is not true."
#5
@
11 years ago
- Keywords has-unit-tests added
33547.diff still applies and tests pass. Looks like we never got reporter feedback. @johnbillion what would you like to do here?
#6
@
11 years ago
- Keywords needs-patch needs-unit-tests added; reporter-feedback has-patch dev-feedback has-unit-tests removed
- Milestone 4.4 → Future Release
- Owner set to
- Status new → assigned
- Version 4.3
Bumping. I don't think protocol-relative URLs are the answer here. includes_url() needs to be fixed so it's aware of context. I have some thoughts on fixing the $scheme parameter for all of our URL functions that I'll explore in 4.5.
This ticket was mentioned in Slack in #core-http by johnbillion. View the logs.
10 years ago
This ticket was mentioned in Slack in #core-http by johnbillion. View the logs.
10 years ago
#12
@
7 years ago
- Keywords bulk-reopened added
- Resolution → wontfix
- Status assigned → closed
Closing due to lack of interest. Best practice these days dictates that sites should be served entirely over HTTPS, as opposed to HTTPS just for sensitive areas of the site, and running a site that uses a mixture has always caused problems. Switching entirely to HTTPS is the answer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks for the report, Strzyga. Can you tell me a bit about your website configuration so we can try to reproduce the problem please?
httpsin both/either/neither of the "Site Address (URL)" or "WordPress Address (URL)" settings on the Settings screen?FORCE_SSL_ADMINconstant?