diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-06-16 22:02:29 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-06-16 22:05:26 -0300 |
commit | 9f754e801f82aad8db760786ad3eb72cc7993108 (patch) | |
tree | 87789c45061ec571534ca33c79228c921e6e83dc /actionpack/test/dispatch | |
parent | 7092467f064832907f8de53b9da659b6de10d7e8 (diff) | |
download | rails-9f754e801f82aad8db760786ad3eb72cc7993108.tar.gz rails-9f754e801f82aad8db760786ad3eb72cc7993108.tar.bz2 rails-9f754e801f82aad8db760786ad3eb72cc7993108.zip |
Compare host scheme using case-insensitive regexp
Before:
image_tag("HTTP://google.com")
# => "<img alt=\"Google\" src=\"/assets/HTTP://google.com\" />"
image_tag("http://google.com")
# => "<img alt=\"Google\" src=\"http://google.com\" />"
After:
image_tag("HTTP://google.com")
# => "<img alt=\"Google\" src=\"HTTP://google.com\" />"
image_tag("http://google.com")
# => "<img alt=\"Google\" src=\"http://google.com\" />"
Backport of #10969
Diffstat (limited to 'actionpack/test/dispatch')
0 files changed, 0 insertions, 0 deletions