diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2012-05-20 19:02:58 +0100 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2012-05-20 19:07:05 +0100 |
commit | 79b38c386ae3817df5321522ab9ea169c028de96 (patch) | |
tree | 61f9c270b0218baf7563b8a7bde7377b5043cc58 /activerecord/test/cases/validations/association_validation_test.rb | |
parent | 3fc561a1f71edf1c2bae695cafa03909d24a5ca3 (diff) | |
download | rails-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