taf2/curb — Issue #101: Curb can't handle put requests with \0 inside it (string contains null byte (ArgumentError))
Author: libc
Created: 2012-01-16 14:24:18+00:00
State: open

fdf9e096f3fdaaa65ce64595e5bf47d21135f027 break this functionality

Consider the following code:

```ruby
easy = Curl::Easy.new('http://localhost/')
easy.put_data = "a\0b"
easy.perform
```

It raises `...curb/lib/curl/easy.rb:39:in `perform': string contains null byte (ArgumentError)`. But before this commit it worked fine.