Path generation does not escape URI reserved characters nor dots. (It
escapes "%"s though.)
Route recognition correctly unescapes after separators are found, I
think that''s thanks to
http://dev.rubyonrails.org/ticket/7544
But, to give an extreme example, if I say
url_path
and Url#to_param outputs a URL, I''d expected that to have
"value"
semantics in path generation. In general, if a route has a
parameter :foo, I''d expected to be able to assign and retrieve any
possible string in :foo. The writing side of this seems to be missing.
I''d write a patch to address that, but I''d like first to be
sure I am
not missing some rationale for the current behaviour.
-- fxn
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---