Make WordPress Core

Opened 8 years ago

Last modified 8 years ago

#40528 new defect (bug)

Title with ascii paragraph separator is not being filtered on post save

Reported by: shpetimshala's profile shpetimshala Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.4
Component: Posts, Post Types Keywords: has-patch
Focuses: administration Cc:

Description

While saving post, filter: title_save_pre only trim spaces before saving to database. In case of paragraph separator it get encoded with %e2%80%a9 . Same thing happen with permalink too.

Attachments (2)

title_with_paragraph_seperator.txt (39 bytes) - added by shpetimshala 8 years ago.
Title which triggers bug
title-sanitize.40528.diff (1.5 KB) - added by shpetimshala 8 years ago.
BugFix

Download all attachments as: .zip

Change History (4)

@shpetimshala
8 years ago

Title which triggers bug

#1 @shpetimshala
8 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
8 years ago

  • Component changed from Database to Posts, Post Types
Note: See TracTickets for help on using tickets.