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

WordPress Trac noreply at wordpress.org
Thu Jun 30 19:32:05 UTC 2022


#55117: Possible 5.9 Bug: Unknown character ( or %ef%bf%bc ) on content title
-------------------------------------------------+-------------------------
 Reporter:  cantuaria                            |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.1
Component:  Permalinks                           |     Version:  5.9
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch has-testing-info has-    |     Focuses:
  screenshots                                    |
-------------------------------------------------+-------------------------
Changes (by ironprogrammer):

 * keywords:  needs-patch has-testing-info => needs-patch has-testing-info
     has-screenshots


Comment:

 == Reproduction Report ==
 I was able to reproduce this issue. Observations are with Firefox browser.

 === Environment ===
 - OS: macOS 12.4
 - Server: nginx/1.23.0
 - PHP: 7.4.30
 - WordPress: v6.1-alpha-53344-src, 6.0, 5.9.3
 - Browser: Mozilla Firefox 102.0
 - Theme: twentytwentytwo v1.2
 - Gutenberg plugin: NOT active

 === Actual Results
 - ❌ Pasting the `` character that has HTML styling applied causes the
 editor to format the post title in unexpected ways (e.g. added margin).
 - ❌ The `` character appears in the title of the published post.
 - ❌ The `` character is encoded and becomes part of the post slug.

 === Supplemental Artifacts ===
 Title without the `` character (clean starting point):
 [[Image(https://cldup.com/I2l3QpB5td.thumb.jpg, 75%)]]

 ||= character pasted at end =||= character pasted at start =||
 || [[Image(https://cldup.com/_uU6IbFu-e.thumb.jpg, 75%)]] ||
 [[Image(https://cldup.com/Ml8rQ9H09y.thumb.jpg, 75%)]] ||

 Post Title including undesired characters:
 [[Image(https://cldup.com/IegDEBNXBj.thumb.jpg, 50%)]]

 Published post page, shows character represented in slug and title:
 [[Image(https://cldup.com/8HX3Gcia4d.thumb.jpg, 75%)]]

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


More information about the wp-trac mailing list