public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Parentheses should be acceptable characters for auto_link_urls. [#234 
state:resolved]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Adam (author)
Wed May 21 11:54:24 -0700 2008
lifo (committer)
Thu May 22 03:16:02 -0700 2008
commit  314e556e6fb7278e37f6105fedbe5fc51f7f848a
tree    bd9b9a482ef5d79f46a8cc31d9e820a83bd0b867
parent  dd9938a44ee3a7bb6c42527a1be6fcec70bf4772
...
464
465
466
467
 
468
469
470
...
464
465
466
 
467
468
469
470
0
@@ -464,7 +464,7 @@ module ActionView
0
                           [-\w]+                   # subdomain or domain
0
                           (?:\.[-\w]+)*            # remaining subdomains or domain
0
                           (?::\d+)?                # port
0
-                          (?:/(?:(?:[~\w\+@%=-]|(?:[,.;:][^\s$]))+)?)* # path
0
+                          (?:/(?:(?:[~\w\+@%=\(\)-]|(?:[,.;:][^\s$]))+)?)* # path
0
                           (?:\?[\w\+@%&=.;-]+)?     # query string
0
                           (?:\#[\w\-]*)?           # trailing anchor
0
                         )
...
186
187
188
 
189
190
191
...
186
187
188
189
190
191
192
0
@@ -186,6 +186,7 @@ class TextHelperTest < ActionView::TestCase
0
               http://en.wikipedia.org/wiki/Wikipedia:Today%27s_featured_picture_%28animation%29/January_20%2C_2007
0
               http://www.mail-archive.com/rails@lists.rubyonrails.org/
0
               http://www.amazon.com/Testing-Equal-Sign-In-Path/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1198861734&sr=8-1
0
+              http://en.wikipedia.org/wiki/Sprite_(computer_graphics)
0
             )
0
 
0
     urls.each do |url|

Comments