[wp-trac] [WordPress Trac] #21175: Found a bug in JavaScript program

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 6 10:25:55 UTC 2012


#21175: Found a bug in JavaScript program
------------------------------------+------------------------------
 Reporter:  UmarFarooque            |       Owner:
     Type:  defect (bug)            |      Status:  reopened
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Editor                  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:  dev-feedback => dev-feedback has-patch
 * component:  General => Editor


Comment:

 Has been this way since the script was introduced in [7854].

 Looking at the `clean` regex, seems that all three last characters should
 be escaped ([attachment:21175.patch]).

 `^` in the `strip` regex seems valid considering the use case.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21175#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list