[wp-trac] [WordPress Trac] #59691: WordPress doesn't sanitize character ʼ (unicode U+02BC) when converting post title to slug

WordPress Trac noreply at wordpress.org
Fri Oct 20 07:13:48 UTC 2023


#59691: WordPress doesn't sanitize character ʼ (unicode U+02BC) when converting
post title to slug
--------------------------+-----------------------------
 Reporter:  ivanzhuck     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.3.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 WordPress doesn't sanitize character `ʼ` (unicode U+02BC) when converting
 post title to slug

 **How to reproduce:**

 1. Create a post with title "Phʼnglui mglwʼnafh Cthulhu Rʼlyeh wgahʼnagl
 fhtagn"
 2. Publish the post
 3. The post gets slug "phʼnglui-mglwʼnafh-cthulhu-rʼlyeh-wgahʼnagl-fhtagn"
 instead of "phnglui-mglwnafh-cthulhu-rlyeh-wgahnagl-fhtagn"

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59691>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list