similar to: Double encoded ampersands in form actions

Displaying 20 results from an estimated 7000 matches similar to: "Double encoded ampersands in form actions"

2006 Mar 21
4
Using onSubmit tag in form_tag?
Hi guys, I have been working on a form that would use javascript to validate the data before submitting it, and from my view.rhtml I have a statement like this: However such a statement generates a HTML tag that looks like this: <form action="/users/Login?onSubmit=validate%28%29" method="post"> Seems like Rails thinks it is a parameter instead of an option, so
2006 Feb 26
1
Help with ruby=>html
Hi! I''m new to ruby and rails and got problems with using basic methods like form_tag or link_to etc to create what i need, i.e. to specify css class or id or name of html elements. I have problem with understanding rails api (it''s just as an example): form_tag(url_for_options = {}, options = {}, *parameters_for_url) what parameters can i pass to form_tag? How to specify
2011 Mar 12
2
two bugs in rsync 3.0.6 - ampersands in filenames, double quoting required
1) deleting path/to/(Something) Word Word Anotherword--Word Word.pdf IO error encountered -- skipping file deletion I think either the -- is causing it to fail, or more likely, the next filename, which it didn't bother to print out, which has an ampersand in the name, causes it to fail. I am using SSH as a substrate, of course, and I think you guys failed to escape things, so the ampersand
2006 May 14
3
need help for simple form tag (noob)
when the user click on "Search" I would like it to point to http://curentpage/?filter=searchtext (the filtering code is already written) it would look like this: <%= start_form_tag(url_for_options = {<something>}) %> <%=text_field (<my_filter>) %> <%= submit_tag(value = "Search")%> any idea how to do this? thanx in advance
2005 Sep 13
6
form_tag & form_remote_tag html id attribute
Hello, Is there a way to set the html element id for the form_tag and form_remote_tag on the server side? I want to have this resultant html... <form id=''something'' ... ... </form> Thank you, Brian Takita
2006 Aug 10
5
Ampersand Heartburn
Greetings all. I''m using the Microsoft "NorthWind Traders" database "orders" table as test data for the Rico LiveGrid JavaScript. The problem I''m noticing is that some of the records in the "ShipName" field contain ampersands -- which for some reason are not being escaped by Rails. Rails does in fact automatically escape all of the other
2007 Feb 06
3
Form won't accept ampersand
Hi guys, My start_form_tag generated form will not accept a text field containing an ampersand. For example, the text ''A & B'' is trunacted to ''A'' in the param hash. I know ampersands have to be encoded in URLs, but I''m surprised my form has a problem with this. I''ve tested this in Safari and Firefox. thanks Lindsay -- Posted via
2006 Mar 23
2
newbie - form_tag with get?
I can''t create a form with method "get". The rhtml code: <%= form_tag :controller => ''teritory'', :action => ''add'', :method => ''get'' %> The generated html code: <form action="/teritory/add?method=get" method="post"> What i''m doing wrong? -- They say money can''t
2010 Feb 22
3
Rails 2.3.5/Ruby1.8.7 Collection_Select Labels with ampersands "&"
I am having an annoying problem displaying the labels of a select box correctly where there is an ampersand contained within the label string. On a form being rendered with the form_for helper the collection_select reads data from a Mysql 5.075 database the text stored in the database is "Surabaya & Surrounding Areas" when rendered and displayed in firefox 3.6 or safari is is
2006 May 18
6
Form actions with additional parameters
Hiall, I want to give the action of a form an additional parameters but can''t figure out how to do it. My code looks like this <%= start_form_tag :action => ''create'', next_step => true %> <%= render :partial => ''user_form'' %> <%= render :partial => ''community_form'' %> <%= submit_tag
2009 Apr 01
1
ampersand in local-part
I have a new email server (postfix/dovecot/mysql) with accounts migrated from another server (different platform) and email addresses with ampersands like "r&d at domain.com" that worked on my old email server are not working now. I'd like some help tracking this issue down. Can anyone tell me if this looks like a postfix, dovecot or mysql issue? Some log info follows.
2007 Aug 26
0
escaped ampersand in generated restful url
I am using a restful helper method to build a url for use in a link_to_remote method and for some reason the generated url has the ampersand that separates the parameters escaped (i.e. /action?param1=1&amp;param2=2 instead of /action?param1=1&param2=2) Any ideas why and how to make it stop? :-) The code in question resides in a helper, if that matters... Cheers, s0nspark -- Posted via
2009 Aug 05
0
xend -x ampersand''s
Does anyone know if the -x option including ampersands issue has been fixed? I found references to the bug with virt-install from rhel, but I can''t locate anywhere that a bug was recognized with xend and corrected. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2006 Jul 09
4
Search terms in URL
I have set up a ferret search using the examples in the demo app. Is it possible to have the search terms included in the URL, so that, for example, users can bookmark a search results page ? Chris -- Posted via http://www.ruby-forum.com/.
2007 Feb 13
1
form_tag only useful for pages with a single form?
Howdy, I''m new to rails and I''m learning form Agile Web Dev with Rails. It seems all of the examples that use form_tag use it in situations where the action first creates a new object before doing a request.post... If I''m in a situation where I''m managing Roles, Rights, and assignments of rights to roles, I may want to have one little form with a text field and
2006 Apr 27
1
Simple question - several submit_tags for multiple actions
Hello Started with Rails just a couple days ago and got stuck in two ways - I like it (and would like to learn more) and cannot really figure out how to use the submit_tag within the form_tag to initiate alternative actions depending on which submit was chosen. One submit should function exactly like the edit/update action from the initial scaffold while the other should do the same plus
2006 Sep 12
3
Querying against numeric fields? e.g. price:( >= min_price)
Using acts_as_ferret I''m trying to do a query like: active:(true) title|body:(#{params[:s]}) product_price:( >= #{params[:min]}) Where I want to return only the active products that contain the search term in the title or body and has a minimum price >= params[:min] I''m finding that even though I''m indexing the product price as an integer (so no .00 to cause
2010 Aug 26
1
[PATCH] Adding the ability to select a Host to start a VM
Signed-off-by: Simon COURTOIS <scourtois at linagora.com> --- src/app/controllers/vm_controller.rb | 5 ++ src/app/models/vm_task.rb | 4 +- src/app/views/vm/start.rhtml | 77 ++++++++++++++++++++++++++++++++++ src/task-omatic/taskomatic.rb | 7 +++- 4 files changed, 91 insertions(+), 2 deletions(-) create mode 100644 src/app/views/vm/start.rhtml diff
2010 Jun 13
2
Rails 3, ActionMailer and urls (ampersand encoding)
In Rails 2, if I used an url in a plain text message it was sent as is, but it seems to be changed in Rails 3. The url http://ab.cd/ef?g=1&h=2 seems to be now translated to http://ab.cd/ef?g=1&amp;h=2 even if the message is plain text. Is it correct? I''ve written my tests previously considering it should not be encoded in plain text messages and these tests are failing when
2008 Mar 10
1
spinner in form tag?
Hello! Is it possible to have a spinner in form_tag? like: <% form_tag :action=> ''list'', do :loading=>"Element.show(''spinner'');", :complete=>"Element.hide(''spinner'');" %> ... ... <% end %> If not how could I do it? Thank you! --~--~---------~--~----~------------~-------~--~----~ You