[wp-trac] [WordPress Trac] #39125: Customize: Video Header YouTube field has issues when whitespace is inserted at beginning or end of URL

WordPress Trac noreply at wordpress.org
Fri Dec 9 09:14:08 UTC 2016


#39125: Customize: Video Header YouTube field has issues when whitespace is
inserted at beginning or end of URL
--------------------------------------+--------------------
 Reporter:  davidakennedy             |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  4.7.1
Component:  Customize                 |     Version:  4.7
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------
Changes (by tyxla):

 * keywords:  has-patch needs-unit-tests => has-patch has-unit-tests


Comment:

 I've uploaded an updated patch -
 [https://core.trac.wordpress.org/attachment/ticket/39125/39125.2.diff
 39125.2.diff] includes a unit test which assures sanitization will also
 trim any whitespace characters.

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


More information about the wp-trac mailing list