toland / patron

Ruby HTTP client based on libcurl
http://toland.github.com/patron/
MIT License
541 stars 73 forks source link

Cast request body to string when uploading #100

Closed julik closed 8 years ago

julik commented 8 years ago

Replace the data object with return value of its to_s before performing the request, since string pointers on non-String VALUE types does not perform any checks but crashes instead.

Fixes #65

toland commented 8 years ago

Thanks!