Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed autolink regexp compatibility for ruby 1.9 [#783 state:resolved]

Signed-off-by: Joshua Peek <josh@joshpeek.com>
  • Loading branch information...
commit b2630502a0525e5965d4eff283e3d2613cd1ca19 1 parent 2faf35c
Stefan Kaes authored josh committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/helpers/text_helper.rb
View
2  actionpack/lib/action_view/helpers/text_helper.rb
@@ -558,7 +558,7 @@ def set_cycle(name, cycle_object)
[-\w]+ # subdomain or domain
(?:\.[-\w]+)* # remaining subdomains or domain
(?::\d+)? # port
- (?:/(?:(?:[~\w\+@%=\(\)-]|(?:[,.;:'][^\s$])))*)* # path
+ (?:/(?:[~\w\+@%=\(\)-]|(?:[,.;:'][^\s$]))*)* # path
(?:\?[\w\+@%&=.;-]+)? # query string
(?:\#[\w\-]*)? # trailing anchor
)
Please sign in to comment.
Something went wrong with that request. Please try again.