Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8506

Show
Ignore:
Timestamp:
12/28/07 20:59:30 (8 months ago)
Author:
rick
Message:

Fix that auto_link looks for ='s in url paths (Amazon urls have them). Closes #10640 [bgreenlee]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/CHANGELOG

    r8497 r8506  
    11*SVN* 
     2 
     3* Fix that auto_link looks for ='s in url paths (Amazon urls have them).  Closes #10640 [bgreenlee] 
    24 
    35* Ensure that test case setup is run even if overridden.  #10382 [Josh Peek] 
  • trunk/actionpack/lib/action_view/helpers/text_helper.rb

    r8424 r8506  
    437437                          (?:\.[-\w]+)*            # remaining subdomains or domain 
    438438                          (?::\d+)?                # port 
    439                           (?:/(?:(?:[~\w\+@%-]|(?:[,.;:][^\s$]))+)?)* # path 
     439                          (?:/(?:(?:[~\w\+@%=-]|(?:[,.;:][^\s$]))+)?)* # path 
    440440                          (?:\?[\w\+@%&=.;-]+)?     # query string 
    441441                          (?:\#[\w\-]*)?           # trailing anchor 
  • trunk/actionpack/test/template/text_helper_test.rb

    r8464 r8506  
    176176              http://en.wikipedia.org/wiki/Wikipedia:Today%27s_featured_picture_%28animation%29/January_20%2C_2007 
    177177              http://www.mail-archive.com/rails@lists.rubyonrails.org/ 
     178              http://www.amazon.com/Testing-Equal-Sign-In-Path/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1198861734&sr=8-1 
    178179            ) 
    179180