Hello,
I am trying to parse a URL of this format
I need to get 2 params
deal_id and url
However, in the above example, if I do params[:url], then I get
"http://another_example.com/index.php?route=product/product"
product_id=275 is dropped on the floor as its considered another
params....
CGI:escape for url is not an option since I have no choice in what I am
being passed...
Any ideas?
--
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 post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment