diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-05-13 19:15:00 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-05-13 19:17:28 -0300 |
commit | 9ff97b0605aa5572eed3562ca4514f38dac88e6d (patch) | |
tree | 1df4af28b5b87915e6fb8e36c70220118070803b /actionpack/lib/action_view/asset_paths.rb | |
parent | e7d5ba37f07ee8ff9daa3d80a81c8afc0b7148cc (diff) | |
download | rails-9ff97b0605aa5572eed3562ca4514f38dac88e6d.tar.gz rails-9ff97b0605aa5572eed3562ca4514f38dac88e6d.tar.bz2 rails-9ff97b0605aa5572eed3562ca4514f38dac88e6d.zip |
Merge pull request #3237 from sakuro/data-url-scheme
Support data: url scheme
Diffstat (limited to 'actionpack/lib/action_view/asset_paths.rb')
-rw-r--r-- | actionpack/lib/action_view/asset_paths.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/asset_paths.rb b/actionpack/lib/action_view/asset_paths.rb index aa5db0d7bc..f6115dbb1b 100644 --- a/actionpack/lib/action_view/asset_paths.rb +++ b/actionpack/lib/action_view/asset_paths.rb @@ -37,7 +37,7 @@ module ActionView end def is_uri?(path) - path =~ %r{^[-a-z]+://|^cid:|^//} + path =~ %r{^[-a-z]+://|^(?:cid|data):|^//} end private |