[wp-trac] [WordPress Trac] #39669: Appearance/Menu, Custom Link: bad URL value sanitation

WordPress Trac noreply at wordpress.org
Thu Feb 2 14:22:47 UTC 2017


#39669: Appearance/Menu, Custom Link: bad URL value sanitation
--------------------------+------------------------------
 Reporter:  TRILOS        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Menus         |     Version:  4.7.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by TRILOS):

 * version:  4.7.1 => 4.7.2


Comment:

 Thank you @bisyarin for the addition.

 Here comes a desription:
 1. Edit a menu in Appearance>Menus
 2. Add a "Custom Link", insert "../" into "URL" field
 3. Klick "Add to menu"
 4. Review "Menu Structure": Custom Link URL field contains "http://../".
 Note: Same with ../dirname/ => http://../dirname/

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


More information about the wp-trac mailing list