Make WordPress Core

Opened 14 years ago

Closed 12 years ago

#13623 closed defect (bug) (fixed)

Minor problem with non-breaking space (title/permalink)

Reported by: nightangel's profile NightAngel Owned by: ryan's profile ryan
Milestone: 3.3 Priority: low
Severity: trivial Version: 2.9.2
Component: Permalinks Keywords: close
Focuses: Cc:


Just a very minor problem when inserting a non-breaking space in the title.

In effect, "%C2%A0" appears in the permalink instead of a dash (like a "classical" space).

Keystroke for non-breaking space on Mac OS X : alt+space (I don't know the equivalent for Windows or others).

I know this is not very common but normally it must be a non-breaking space before certain punctuation : question mark, exclamation mark, etc.

Change History (5)

#1 @nacin
14 years ago

  • Keywords needs-patch added; permalink removed
  • Milestone changed from 2.9.3 to 3.1

This isn't a regression so I am moving this out of 2.9.3, it's also too late for 3.0, so I am moving this to 3.1. needs-patch.

#2 @mattsains
14 years ago

On windows the keyboard shortcut is Alt+0160
When I try and create a post with an NBSP in the title, it gives me a permalink with some sort of space (I'm assuming an NBSP) like: http://localhost/wordpress/2010/06/17/foo bar/
Which works fine when I navigate to it.

I'm not sure why %C2%A0 appears, I can't make it do that

#3 @nacin
14 years ago

  • Milestone changed from Awaiting Triage to Future Release

#4 @solarissmoke
13 years ago

  • Keywords close added; needs-patch removed

I get the same as mattsains, no urlencoded stuff. Looks to be fixed in trunk.

#5 @SergeyBiryukov
12 years ago

  • Milestone changed from Future Release to 3.3
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.