aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG.md
diff options
context:
space:
mode:
authorKarl Entwistle <karl.entwistle@unboxedconsulting.com>2014-07-10 09:58:46 +0100
committerKarl Entwistle <karl.entwistle@unboxedconsulting.com>2014-07-10 10:02:11 +0100
commit8a297131349bf4e0ade4a0941e5da0c987396d89 (patch)
treeb7e194b25eda53d87edf429f3ef1ed51e1007804 /actionpack/CHANGELOG.md
parentb9ffae8feb453ee2961b5284fe3310b227532179 (diff)
downloadrails-8a297131349bf4e0ade4a0941e5da0c987396d89.tar.gz
rails-8a297131349bf4e0ade4a0941e5da0c987396d89.tar.bz2
rails-8a297131349bf4e0ade4a0941e5da0c987396d89.zip
Force encoding of US-ASCII to UTF-8 in unescape_uri.
Because URI paths may contain non US-ASCII characters we need to force the encoding of any unescaped URIs to UTF-8 if they are US-ASCII. This essentially replicates the functionality of the monkey patch to URI.parser.unescape in active_support/core_ext/uri.rb. Fixes #16104.
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r--actionpack/CHANGELOG.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index 2b22041b3b..6abc0a8077 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,3 +1,12 @@
+* Because URI paths may contain non US-ASCII characters we need to force
+ the encoding of any unescaped URIs to UTF-8 if they are US-ASCII.
+ This essentially replicates the functionality of the monkey patch to
+ URI.parser.unescape in active_support/core_ext/uri.rb.
+
+ Fixes #16104.
+
+ *Karl Entwistle*
+
* Generate shallow paths for all children of shallow resources.
Fixes #15783.