[wp-trac] [WordPress Trac] #15295: _qv_basename() returns urlencoded string

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 2 17:56:17 UTC 2010


#15295: _qv_basename() returns urlencoded string
--------------------------+-------------------------------------------------
 Reporter:  scribu        |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.1
Component:  Formatting    |     Version:     
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------
 In [16155] I replaced _qv_basename() with wp_basename().

 In _qv_basename(), urldecode() is called before urlencode(), while in
 wp_basename() it's called after.

 I consider the behaviour in _qv_basename() a bug, since there's no
 urlencode() being called before that.

 This ticket is for reporting any issues that might arise from this change.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15295>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list