diff options
author | Shawn Veader <shawn@veader.org> | 2012-09-10 17:50:04 -0300 |
---|---|---|
committer | Shawn Veader <shawn@veader.org> | 2012-10-26 15:43:07 -0400 |
commit | f96b410bc7e81fee98752dd7d715791fae5b2378 (patch) | |
tree | 8e08c50426d1ce3597ef99b08a0c54d3eeda0e5b /activerecord/CHANGELOG.md | |
parent | 6ac33f9e4b4dbfe34f9884d7b262a7ba2c3356e1 (diff) | |
download | rails-f96b410bc7e81fee98752dd7d715791fae5b2378.tar.gz rails-f96b410bc7e81fee98752dd7d715791fae5b2378.tar.bz2 rails-f96b410bc7e81fee98752dd7d715791fae5b2378.zip |
Decode attributes pulled from URI.parse
The RFC indicates that username and passwords may be encoded.
http://tools.ietf.org/html/rfc2396#section-3.2.2
Found this trying to use the mysql://username:password@host:port/db and having special characters in the password which needed to be URI encoded.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 888990416e..c99f09f478 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,9 @@ ## Rails 4.0.0 (unreleased) ## +* Decode URI encoded attributes on database connection URLs. + + *Shawn Veader* + * Add `find_or_create_by`, `find_or_create_by!` and `find_or_initialize_by` methods to `Relation`. @@ -38,7 +42,7 @@ *Jon Leighton* -* Fix bug with presence validation of associations. Would incorrectly add duplicated errors +* Fix bug with presence validation of associations. Would incorrectly add duplicated errors when the association was blank. Bug introduced in 1fab518c6a75dac5773654646eb724a59741bc13. *Scott Willson* |