[wp-trac] [WordPress Trac] #21153: supporting protocol-relative urls
WordPress Trac
noreply at wordpress.org
Sun Sep 28 14:30:28 UTC 2014
#21153: supporting protocol-relative urls
-------------------------+--------------------
Reporter: nagyv | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.1
Component: General | Version: 3.3.2
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+--------------------
Comment (by SergeyBiryukov):
Looks like changing the regex in `sanitize_option()` is not enough:
1. If you set `home` and `siteurl` to a relative URL, you can no longer
log in.
2. Links are still generated with `http://`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21153#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list