Rails/Rack: “ArgumentError: invalid %-encoding” for POST data
问题 Our ruby on rails site has a URI that one of our partners POSTs XML data to. Since we don't want to deal with XML, we literally just stuff the raw data into a database column and don't go any further with processing it. However, one of the posts we received gave us this error in airbrake: ArgumentError: invalid %-encoding ("http://ns.hr-xml.org/2004-08-02" userId="" password=""><BackgroundReportPackage type="report"> <ProviderReferenceId>.... With backtrace: vendor/ruby-1.9.3/lib/ruby/1.9.1