From 839f03b7d0ae9d9ff49cc777488630253186b184 Mon Sep 17 00:00:00 2001 From: Marcel Molina Date: Mon, 26 Dec 2005 19:31:40 +0000 Subject: 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 --- actionpack/lib/action_view/helpers/text_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib') 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 ) -- cgit v1.2.3