-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Force HTTPS Everywhere #969
Comments
1 task
@ThierryA and I had a sync on this and he was able to share additional details. Sharing my notes from that along with a very quick sketch idea. The work on this is similar to the validation work.
|
@westonruter would it not be good to work on this on the PWA feature plugin side aiming at core integration? |
@amedina yes, that's right. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a WP Core Trac ticket for enforcing HTTPS everywhere: https://core.trac.wordpress.org/ticket/28521
There is already a degree of this HTTPS-enforcement as part of the whitelist sanitizer which would be more robust than what is possible in core, since core doesn't have access to the
DOMDocument
response. We could implement some of the ideas from the core ticket while waiting for it to land in core, and add additional enforcement at the sanitizer layer.Something else to consider is to add an HTTPS proxy as part of the plugin as a fallback in case HTTPS is truly not available. This could be incorporated from the HTTPS Resource Proxy in the Customize Widgets Plus plugin:
See https://github.com/xwp/wp-customize-widgets-plus/blob/master/php/class-https-resource-proxy.php
See also issue regarding media in #130, as this may supersede it.
The text was updated successfully, but these errors were encountered: