跳到内容

percent encode capital letter

v1.0.0

wokamoto · 2011年2月16日 上架

This plugin makes regular URL by which percent encoding was carried out with a capital letter.

正在使用
10 以下
评分
暂无
累计下载
1,534
最近更新
2011年2月16日
需要 WordPress 2.5+已测试到 3.1.4

贡献者

When you use [Options]-[Permalinks]-[Common Options]-[Date and name based], or %postname% in custom URL, entry title will be normalized for fitting to URL permitted letters. If title has non-ASCII letters, those letters cannot be directly put in URL so they are percent-encoded. This is processed in sanitize_title_with_dashes_original() and utf8_uri_encode() .

The reason capital letters in percent encoding required is described on RFC3986 section 2.1,

The uppercase hexadecimal digits ‘A’ through ‘F’ are equivalent to the lowercase digits ‘a’ through ‘f’, respectively. If two URIs differ only in the case of hexadecimal digits used in percent-encoded octets, they are equivalent.

For consistency, URI producers and normalizers should use uppercase hexadecimal digits for all percent-encodings. As you see RFC2119 section 3, “should” means you may ignore it with valid reason.

This plugin makes regular URL by which percent encoding was carried out with a capital letter.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums