aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/link_to_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/link_to_helper.rb')
-rw-r--r--app/helpers/link_to_helper.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/helpers/link_to_helper.rb b/app/helpers/link_to_helper.rb
index dc61f81cd..7aacdad52 100644
--- a/app/helpers/link_to_helper.rb
+++ b/app/helpers/link_to_helper.rb
@@ -5,7 +5,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: link_to_helper.rb,v 1.41 2008-09-24 18:25:46 francis Exp $
+# $Id: link_to_helper.rb,v 1.42 2008-09-24 19:23:17 francis Exp $
module LinkToHelper
@@ -120,7 +120,9 @@ module LinkToHelper
# have escaped slashes. Apache complains if you do include slashes
# within a path component.
# See http://www.webmasterworld.com/apache/3279075.htm
- # and see 3.3 of http://www.ietf.org/rfc/rfc2396.txt
+ # and also 3.3 of http://www.ietf.org/rfc/rfc2396.txt
+ # It turns out this is a regression in Rails 2.1, caused by this bug fix:
+ # http://rails.lighthouseapp.com/projects/8994/tickets/144-patch-bug-in-rails-route-globbing
url.sub!("%2F", "/")
if !postfix.nil? && !postfix.empty?