Make WordPress Core

Opened 8 years ago

Last modified 4 years ago

#35376 closed defect (bug)

Default URL for emoji images should be always https — at Initial Version

Reported by: ocean90's profile ocean90 Owned by:
Milestone: 4.4.2 Priority: normal
Severity: normal Version: 4.2
Component: Emoji Keywords: has-patch
Focuses: performance Cc:

Description

The default URL is currently set_url_scheme( '//s.w.org/images/core/emoji/72x72/' ) but the CDN is SSL-only, so in case set_url_scheme() returns "http" the request gets redirected to "https". That's pretty bad for our little friends.

curl -I http://s.w.org/images/core/emoji/72x72/1f680.png
HTTP/1.1 301 Moved Permanently
Content-Type: text/html
Date: Fri, 08 Jan 2016 19:53:08 GMT
Location: https://s.w.org/images/core/emoji/72x72/1f680.png
Server: nginx
Content-Length: 178

It's seems like this was an oversight in [31938] because s0.wp.com has no such redirect.

Change History (1)

@ocean90
8 years ago

Note: See TracTickets for help on using tickets.