[wp-trac] [WordPress Trac] #28487: Introduce a function to determine if the scheme of a URL is https

WordPress Trac noreply at wordpress.org
Mon Jun 9 14:59:23 UTC 2014


#28487: Introduce a function to determine if the scheme of a URL is https
-------------------------+------------------
 Reporter:  johnbillion  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.0
Component:  Security     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------

Comment (by georgestephanis):

 Also, I got something confused in my head when I wrote the patch, thinking
 parse_url gets cranky if passes a non-URL string, whereas it just returns
 false.  The `@` prefixing it is unnecessary and should be dropped.  My
 bad.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28487#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list