[wp-trac] [WordPress Trac] #4152: posts_nav_link does not detect all html entities

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 2 00:04:18 UTC 2010


#4152: posts_nav_link does not detect all html entities
----------------------------+-----------------------------------------------
 Reporter:  jimmyk          |       Owner:  anonymous  
     Type:  defect (bug)    |      Status:  new        
 Priority:  low             |   Milestone:  3.0        
Component:  Administration  |     Version:  2.1.3      
 Severity:  normal          |    Keywords:  needs-patch
----------------------------+-----------------------------------------------

Comment(by dd32):

 From what I can see here, none of the entities mentioned in this ticket
 are related to the bug at all.

 The code in question appears to be to pick up invalid html entities, At
 present, any html entities with A-Z after the first character are wiped
 out.

 Example: Ð will be replaced with Ð whereas ð would pass
 straight through as expected. Ä also passes through as expected as
 the capital is in the first position.

 I do not see a problem with changing this to a case-insensitive regular
 expression.

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


More information about the wp-trac mailing list