Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#9480 closed feature request (invalid)

New Feature: Punycode Support in URLs (slugs)

Reported by: hakre's profile hakre Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7.1
Component: General Keywords: punycode
Focuses: Cc:

Description

WordPress User are reporting, that WordPress does UrlEncode (%[a-z0-9]{2} specific chars in slugs. You find those urlencoded-dramarettes in slugs later on then.

Instead of this very limited encoding/decoding, I suggest using Punycode. Punycode can be used to get any Unicode Input into the slugs and therefore having very nice URLs for everybody!

Change History (7)

#1 follow-up: @ryan
16 years ago

We do standard IRI-to-URI conversion for slugs. Punycode is for domains, where you can't do octet encoding.

#2 @hakre
16 years ago

I will to check out that IRI-to-URI conversion.

#3 @hakre
16 years ago

Should me make solveable that: #8446

#4 in reply to: ↑ 1 @hakre
16 years ago

Replying to ryan:

We do standard IRI-to-URI conversion for slugs. Punycode is for domains, where you can't do octet encoding.

Ryan, can you tell me where I find the code in core this is done? I did some searches but was unable to find out. A hint in the right direction might already help.

#5 @hakre
16 years ago

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

#6 @Viper007Bond
16 years ago

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