Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

multibyte supports for ruby 1.9.2

  • Loading branch information...
commit 9c56745268395a6f6edefc5bc1f943f1af3c2204 1 parent 1c686ac
@beyond beyond authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/vendor/estraierpure.rb
View
2  lib/vendor/estraierpure.rb
@@ -936,7 +936,7 @@ def shuttle_url(url, pxhost, pxport, outsec, reqheads, reqbody, resheads, resbod
sock.printf("%s\r\n", line)
end
end
- sock.printf("Content-Length: %d\r\n", reqbody.length) if reqbody
+ sock.printf("Content-Length: %d\r\n", reqbody.bytesize) if reqbody
sock.printf("\r\n")
sock.write(reqbody) if reqbody
line = sock.gets.chomp
Please sign in to comment.
Something went wrong with that request. Please try again.