diff options
author | Marcel Molina <marcel@vernix.org> | 2005-12-26 19:31:40 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2005-12-26 19:31:40 +0000 |
commit | 839f03b7d0ae9d9ff49cc777488630253186b184 (patch) | |
tree | b7aa0a12cfc057c6dae8146069948ef4a372c7f0 /actionpack/lib | |
parent | eb53467bdf7397503e7f709ae65a320b698e367b (diff) | |
download | rails-839f03b7d0ae9d9ff49cc777488630253186b184.tar.gz rails-839f03b7d0ae9d9ff49cc777488630253186b184.tar.bz2 rails-839f03b7d0ae9d9ff49cc777488630253186b184.zip |
Make auto_link match urls with a port number specified.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/text_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/text_helper.rb b/actionpack/lib/action_view/helpers/text_helper.rb index 2c38ffb345..1b1ca386c2 100644 --- a/actionpack/lib/action_view/helpers/text_helper.rb +++ b/actionpack/lib/action_view/helpers/text_helper.rb @@ -324,7 +324,7 @@ module ActionView (?:www\.) # www.* ) ( - ([\w]+[=?&\/.-]?)* # url segment + ([\w]+:?[=?&\/.-]?)* # url segment \w+[\/]? # url tail (?:\#\w*)? # trailing anchor ) |