aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2005-09-14 12:07:05 +0000
committerJamis Buck <jamis@37signals.com>2005-09-14 12:07:05 +0000
commit5e3364ef452d8b3d6e1b4eacfd9c8939be392c29 (patch)
treebff35c02ab0750362d14c3ecfb1ccb33dbf19cbf /actionpack/lib/action_view
parenta20ad655b5e09d104acd3c1be79c2b49cfd26e6d (diff)
downloadrails-5e3364ef452d8b3d6e1b4eacfd9c8939be392c29.tar.gz
rails-5e3364ef452d8b3d6e1b4eacfd9c8939be392c29.tar.bz2
rails-5e3364ef452d8b3d6e1b4eacfd9c8939be392c29.zip
More auto-link fixes (to include query strings in autolinked text)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2241 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r--actionpack/lib/action_view/helpers/text_helper.rb2
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 7b883a8b27..bc753262f2 100644
--- a/actionpack/lib/action_view/helpers/text_helper.rb
+++ b/actionpack/lib/action_view/helpers/text_helper.rb
@@ -290,7 +290,7 @@ module ActionView
(?:www\.) # www.*
)
(
- ([\w]+[\/.-]?)* # url segment
+ ([\w]+[=?&\/.-]?)* # url segment
\w+[\/]? # url tail
(?:\#\w*)? # trailing anchor
)