[wp-trac] [WordPress Trac] #15928: wp_get_attachment_url does not check for HTTPS

WordPress Trac noreply at wordpress.org
Thu May 22 20:50:56 UTC 2014


#15928: wp_get_attachment_url does not check for HTTPS
-------------------------------------+-----------------------
 Reporter:  atetlaw                  |       Owner:
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.0
Component:  Permalinks               |     Version:  3.0.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------

Comment (by ericlewis):

 Thoughts on returning a network-path reference (drop the scheme)?

 Further reading: [http://stackoverflow.com/questions/3583103/network-path-
 reference-uri-scheme-relative-urls Stack Overflow discussion],
 [http://www.ietf.org/rfc/rfc3986.txt RFC-3986],
 [http://www.paulirish.com/2010/the-protocol-relative-url/ Paul Irish]

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


More information about the wp-trac mailing list