Actions
Bug #559
closedWEBrick should use #bytesize instead of #size
Description
=begin
Currently, WEBrick uses #size to figure out the content-length headers, which messes up responses with multibyte characters.
The attached patch stupidly replaces all instances of '.size' with '.bytesize'. It fixes the problem and doesn't appear to cause any problems.
=end
Files
Updated by ko1 (Koichi Sasada) over 16 years ago
- Assignee set to gotoyuzo (GOTOU Yuuzou)
=begin
=end
Updated by yugui (Yuki Sonoda) about 16 years ago
- Target version set to 1.9.1 Release Candidate
=begin
=end
Updated by matz (Yukihiro Matsumoto) about 16 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r20152.
=end
Actions
Like0
Like0Like0Like0