[wp-trac] [WordPress Trac] #57331: Post slugs are appending '%ef%bf%bc' causing redirection errors

WordPress Trac noreply at wordpress.org
Wed Dec 14 23:46:37 UTC 2022


#57331: Post slugs are appending '%ef%bf%bc' causing redirection errors
-------------------------------+-----------------------------
 Reporter:  danielcho          |      Owner:  (none)
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  6.1.1
 Severity:  major              |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 We are noticing that certain articles on our site are getting this
 '%ef%bf%bc' string attached to the end of the post_name/slug, and causing
 a redirect error. On the front end sometimes the actual string shows up
 but other times it's just a blank in the url.
 If we strip the post_names of this string of characters in the database,
 it seems to fix the issue, but nothing we are doing on our end seems to be
 appending them. A quick google search seems to give me the indication that
 it's related a copy paste error of some sort, but I personally wasn't able
 to replicate it on my own, though we have dozens of examples of it
 happening on our site in the past few months.

 Examples:
 https://www.hercampus.com/school/sjsu/a-peek-into-the-education-
 system%ef%bf%bc
 https://www.hercampus.com/school/york-u/what-does-your-favorite-hozier-
 song-say-about-you%ef%bf%bc
 https://www.hercampus.com/school/psu/be-kind-to-your-retail-workers-on-
 black-
 friday%ef%bf%bc%ef%bf%bc%ef%bf%bc%ef%bf%bc%ef%bf%bc%ef%bf%bc%ef%bf%bc%ef%bf%bc%ef%bf%bc
 https://www.hercampus.com/school/psu/what-new-fall-jacket-you-should-buy-
 based-on-your-favorite-thanksgiving-food%ef%bf%bc

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


More information about the wp-trac mailing list