WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 6 years ago

Last modified 2 weeks ago

#8285 closed defect (bug) (duplicate)

Post/page stubs aren't sanitized enough

Reported by: Viper007Bond Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: General Keywords: needs-patch
Focuses: Cc:

Description

I have a few clients who prefer to copy/paste from Word or whatnot. This means they put fancy quotes into their post titles rather than letting WordPress do it.

For example, here's a post title:

This is a “cool” post

The stub generated off of that title:

this-is-a-%e2%80%9ccool%e2%80%9d-post

This is likely related to trying to keep funky characters from other languages intact, but I thought I'd open a ticket anyway.

Change History (3)

comment:1 @Denis-de-Bernardy6 years ago

I see this one often too. it's almost always related to dashes, quotes (single, double, angle), and that nasty "..." character. maybe converting those things to their non-fancy version might do the trick?

comment:2 @Denis-de-Bernardy6 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

See #2015

comment:3 @DrewAPicture2 weeks ago

  • Milestone 2.8 deleted
Note: See TracTickets for help on using tickets.