Hey guys,
Just noticed that url_for escapes anchors even when the escape option is
false.
>> url_for(:controller => ''events'', :action =>
''index'', :event_key =>
''ryan'', :anchor => ''view=details'', :host
=> ''localhost'')
=>
"http://localhost/events/ryan#view%3Ddetails">> url_for(:controller => ''events'', :action =>
''index'', :event_key =>
''ryan'', :anchor => ''view=details'', :host
=> ''localhost'', :escape => false)
=>
"http://localhost/events/ryan#view%3Ddetails">>
And after grepping through the code, I can''t actually find where the
:escape
option is used to turn escaping on or off. Is this something that has
fallen through the cracks or am I missing something?
Thanks,
Ryan
--
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.