aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/validations/association_validation_test.rb
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2012-05-20 19:02:58 +0100
committerAndrew White <andyw@pixeltrix.co.uk>2012-05-20 19:07:05 +0100
commit79b38c386ae3817df5321522ab9ea169c028de96 (patch)
tree61f9c270b0218baf7563b8a7bde7377b5043cc58 /activerecord/test/cases/validations/association_validation_test.rb
parent3fc561a1f71edf1c2bae695cafa03909d24a5ca3 (diff)
downloadrails-79b38c386ae3817df5321522ab9ea169c028de96.tar.gz
rails-79b38c386ae3817df5321522ab9ea169c028de96.tar.bz2
rails-79b38c386ae3817df5321522ab9ea169c028de96.zip
Escape the extension when normalizing the action cache path.
Although no recognized formats use non-ASCII characters, sometimes they can be included in the :format parameter because of invalid URLS. To prevent encoding incompatibility errors we need to escape them before passing the path to URI.unescape. Closes #4379
Diffstat (limited to 'activerecord/test/cases/validations/association_validation_test.rb')
0 files changed, 0 insertions, 0 deletions