This project is archived and is in readonly mode.
Add an :escape_url option to remote_function
Reported by anthony | May 1st, 2009 @ 08:33 PM | in 3.x
Since remote_function is creating a javascript/AJAX function call it is reasonable to expect that we don't always want the :url parameter escaped. For example, in my case I was creating a drop_receiving_element and the url was dependent on the element being dropped.
remote_function should have an :escape_url option that defaults to true but can explicitly be set to false for cases like these.
Comments and changes to this ticket
-
anthony May 2nd, 2009 @ 01:37 AM
I cleaned up the patch a little bit. The code is the same, just some formatting changes and I combined 2 checkins into 1...
-
Rohit Arondekar October 14th, 2010 @ 11:01 AM
- State changed from new to stale
- Importance changed from to
Marking ticket as stale. If this is still an issue please leave a comment with suggested changes, creating a patch with tests, rebasing an existing patch or just confirming the issue on a latest release or master/branches.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 2500 remote_function does not allow dynamically generation of url duplicates #2593, mark as duplicate
- 2500 remote_function does not allow dynamically generation of url Duplicate of #2593.
- 3312 [PATCH] remote_function shouldn't escape string urls Note that this is similar to #2593 which adds an :escape_...
- 3312 [PATCH] remote_function shouldn't escape string urls I've just looked at #2593 more closely. #2593 is about di...
- 3312 [PATCH] remote_function shouldn't escape string urls I've just looked at #2593 more closely. #2593 is about di...
- 2500 remote_function does not allow dynamically generation of url I created the same ticket a few days ago and submitted a ...