[Rails] Passing stings into html and not converting to hex (I think)
Hello all.
I need pass this without it changing the &, and = into %26, and %3D.
<%= @esearch.search q:params[:query]+'&pretty=true' do %>
Everything else is working fine, its just passing this ;
GET http://localhost:9200/_search?q=asa%26pretty%3Dtrue
I need this to be;
GET http://localhost:9200/_search?q=asa&pretty=true
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/51fc5a77f2e69e88aa985e0aba37dc4e%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home