Hi! I'm developing a Rails-app that needs to take images from a separate program. I managed to upload base64 encoded images via HTTP-Post- Request (Cocoa), the HTTP-Body looks like (base64-data is shortened) this:
"filename=Pic1.jpg&content_type=image/jpeg&data=/9j/4AAQSkZJRgABAQECeUJ +woRAD/4gxYSU" When I access the data via params[:data] in my controller, all the plus signs are gone and substituted with spaces. I checked the outgoing data of the separate program with a sniffer and it contains the plus signs, so the substitution must take place somewhere on the server. Does anybody have an idea what causes this behaviour? Thanks, Thomas --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

