Go to file
Gary Pendergast d258490653 When sanitizing a URL to redirect to, UTF-8 characters can be URL encoded, instead of being removed.
While RFC 3986 does not specify which character sets are allowed in URIs, Section 2.5 states that octects matching UTF-8 character encoding should be percent-encoded, then unreserved octets outside of the UTF-8 range should be percent-encoded. As browsers tend to only implement support for UTF-8 in URLs, this change only implements the UTF-8 encoding part. We may revisit the second part if it becomes an issue.

Fixes #31486



git-svn-id: https://develop.svn.wordpress.org/trunk@31587 602fd350-edb4-49c9-b593-d223f7449a82
2015-02-28 02:20:52 +00:00
src When sanitizing a URL to redirect to, UTF-8 characters can be URL encoded, instead of being removed. 2015-02-28 02:20:52 +00:00
tests When sanitizing a URL to redirect to, UTF-8 characters can be URL encoded, instead of being removed. 2015-02-28 02:20:52 +00:00
tools/i18n i18n tools: Delete data/not-gettexted-0-work.php. 2015-02-22 12:55:34 +00:00
.editorconfig .jshintrc is a json file and .editorconfig should treat it like a json file 2014-10-08 19:26:50 +00:00
.gitignore Ignore any local WP Cli config files. 2014-10-28 17:01:22 +00:00
.jshintrc Remove smarttabs from .jshintrc per IRC discussion. see #25187. 2013-11-13 19:23:16 +00:00
.travis.yml Run unit tests on Travis CI with php nightlies 2015-02-26 17:49:13 +00:00
Gruntfile.js Build: Let RTLCSS handle swapping the codes for right/left arrows from Dashicons. 2015-02-27 20:18:05 +00:00
package.json RTL CSS generation: Switch from CSSJanus to RTLCSS. 2015-02-27 13:40:03 +00:00
phpunit.xml.dist Exclude external-http tests when running phpunit. 2014-11-10 14:48:28 +00:00
wp-cli.yml Introduce default wp-cli.yml for core development. 2014-04-30 21:35:18 +00:00
wp-config-sample.php Remove 'WordPress Language' reference from wp-config-sample.php. 2014-09-09 01:22:05 +00:00
wp-tests-config-sample.php Update wp-tests-config-sample.php to run with WP_DEBUG by default. see #25282. 2013-09-23 16:17:59 +00:00