[wp-trac] [WordPress Trac] #55117: Possible 5.9 Bug: Unknown character ( or %ef%bf%bc ) on content title

WordPress Trac noreply at wordpress.org
Tue Feb 8 23:39:23 UTC 2022


#55117: Possible 5.9 Bug: Unknown character ( or %ef%bf%bc ) on content title
--------------------------+------------------------------
 Reporter:  cantuaria     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  5.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:10 archon810]:
 > The term actually has `E2 80 8B` after "u" which explains why the slug
 was created like that. So 5.9 will start stripping these characters from
 the slug for newly created terms, which is great. But something about this
 change also had the effect of breaking existing urls, which now 404.

 Hmm, that commit does strip these characters for newly created terms, but
 I'm not sure it's related to 404 errors, as the replacement only runs on
 saving, and is in line with how similar replacements were added in the
 past, without breaking any URLs. So a deeper investigation would be
 appreciated here. Do the URLs start working if that commit is reverted?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55117#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list