Make WordPress Core

Opened 9 years ago

Last modified 13 months ago

#40528 new defect (bug)

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

Reported by: shpetimshala Owned by:
Priority: normal Milestone: Awaiting Review
Component: Formatting Version: 4.7.4
Severity: normal Keywords: has-patch
Cc: Focuses: administration

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 9 years ago.
Title which triggers bug
title-sanitize.40528.diff​ (1.5 KB ) - added by shpetimshala 9 years ago.
BugFix

Download all attachments as: .zip

Change History (5)

@shpetimshala
9 years ago

Title which triggers bug

#1 @shpetimshala
9 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
9 years ago

  • Component Database → Posts, Post Types

#3 @SirLouen
13 months ago

  • Component Posts, Post Types → Formatting
Note: See TracTickets for help on using tickets.