plugin-icon

percent encode capital letter

投稿者: wokamoto·
This plugin makes regular URL by which percent encoding was carried out with a capital letter.
バージョン
1.0.0
最終更新日時
Feb 16, 2011

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.

無料Business プランを利用中
インストールすることで、WordPress.com の利用規約サードパーティプラグイン利用規約に同意したことになります。
最大テスト回数
WordPress 3.1.4
このプラグインをダウンロードして、 サイトに使用できます。