percent encode capital letter

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

Author:wokamoto (profile at wordpress.org)
WordPress version required:2.5
WordPress version tested:3.1.4
Plugin version:1.0.0
Added to WordPress repository:16-02-2011
Last updated:16-02-2011
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://wordpress.org/extend/plugins/percent-e...
Total downloads:1 093
plugin download
Click to start download

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.


ChangeLog