aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG.md
diff options
context:
space:
mode:
authorDerek Prior <derekprior@gmail.com>2013-09-19 09:17:15 -0400
committerDerek Prior <derekprior@gmail.com>2013-09-19 09:23:20 -0400
commita78c10d3c787c56106353eb025ebb93ffcdb7bac (patch)
tree2b69e77ffe8091859cb81d4448f7f22d86fcd7df /actionpack/CHANGELOG.md
parent1dacfbabf3bb1e0a9057dd2a016b1804e7fa38c0 (diff)
downloadrails-a78c10d3c787c56106353eb025ebb93ffcdb7bac.tar.gz
rails-a78c10d3c787c56106353eb025ebb93ffcdb7bac.tar.bz2
rails-a78c10d3c787c56106353eb025ebb93ffcdb7bac.zip
Fix regex used to find URI schemes in redirect_to
The previous regex was allowing `_` in the URI scheme, which is not allowed by RFC 3986. This change brings the regex in line with the RFC.
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r--actionpack/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index a7ad07afd9..b0b75f6909 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,3 +1,8 @@
+* Fix regex used to detect URI schemes in `redirect_to` to be consistent with
+ RFC 3986.
+
+ *Derek Prior*
+
* Fix incorrect `assert_redirected_to` failure message for protocol-relative
URLs.