Here''s the ticket and patch -
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/144
I''m afraid the patch is just the output of svn diff as I''m not
on the
git ship just yet. Is it hard to convert the output of svn diff
(diff) to something that git understands?
Chris
On May 8, 4:45 pm, Chris Roos <chrisjr...@gmail.com>
wrote:> Slashes in the ''globbed'' parameters are not escaped.
I''ve got a
> failing test and patch ready to submit (I''ll update the thread
once
> I''ve got them submitted) but wondered if others could comment on
> whether they expect the behaviour I''ve outlined below?
>
> Given this route:
> map.connect ''glob/show/*additional'', :controller =>
''glob'', :action =>
> ''show''
>
> And this template:
> <p><%= link_to ''test route globbing'',
:controller => ''glob'', :action
> => ''show'', :additional =>
[''foo/bar'', ''baz''] %></p>
>
> I''d expect the generated URL to be (note the escaped slash between
foo
> and bar):
> <p><a href="/glob/show/foo%2Fbar/baz">test route
globbing</a></p>
>
> Instead, the generated URL is:
> <p><a href="/glob/show/foo/bar/baz">test route
globbing</a></p>
>
> Cheers,
>
> Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-core-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---