WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#9480 closed feature request (invalid)

New Feature: Punycode Support in URLs (slugs)

Reported by: 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)

comment:1 follow-up: ryan5 years ago

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

comment:2 hakre5 years ago

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

comment:3 hakre5 years ago

Should me make solveable that: #8446

comment:4 in reply to: ↑ 1 hakre5 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.

comment:5 hakre5 years ago

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

comment:6 Viper007Bond5 years ago

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