[wp-trac] [WordPress Trac] #16566: Copyright symbol not transformed in post slug

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 15 16:12:21 UTC 2011


#16566: Copyright symbol not transformed in post slug
--------------------------+------------------------------
 Reporter:  Coolkevman    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Permalinks    |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by Coolkevman):

 I was wrong, the copyright symbol in my string is not an ASCII one. Here
 is the proof:
 {{{
 $ python
 Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)
 >>> t = "New forum © by someone"
 >>> for x in t:
 ...   print "%s -> %s" % (ord(x), x)
 ...
 78 -> N
 101 -> e
 119 -> w
 32 ->
 102 -> f
 111 -> o
 114 -> r
 117 -> u
 109 -> m
 32 ->
 194 -> �
 169 -> �
 32 ->
 98 -> b
 121 -> y
 32 ->
 115 -> s
 111 -> o
 109 -> m
 101 -> e
 111 -> o
 110 -> n
 101 -> e
 >>>
 }}}

 This bug report is still valid as the slug sanitization process doesn't
 ends with a clean URL.

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


More information about the wp-trac mailing list