Forum: Ruby on Rails request.raw_post

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6f4989f18fb2315d4b1db15cccb29ecf?d=identicon&s=25 Mick (Guest)
on 2007-04-16 18:32
Hi,

how can I un-encode the contents of request.raw_post back into a normal
string of text, without all the %20's and such?

Cheers,

Mick
525128e48ca2b4c7fb6176ea166fccfd?d=identicon&s=25 Eric G. (gotskill10)
on 2007-04-16 19:03
The most straightforward way would be to do some kind of gsub to fix all
the formatting, but Im sure there are better fixes.
This topic is locked and can not be replied to.