summaryrefslogtreecommitdiff
path: root/spec/ruby/library/net-http/http/fixtures/http_server.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2026-06-02 09:55:25 +0900
committergit <svn-admin@ruby-lang.org>2026-06-02 02:10:54 +0000
commit14bc2930e1cfbd8e6bd9985a47998583b0824d1f (patch)
treed2587f453edcc6f09c6a7d7ab4c24e3d51b4c317 /spec/ruby/library/net-http/http/fixtures/http_server.rb
parent770ccaa6fb2425f560dd8e69b5f617a5ca2cf7cd (diff)
[ruby/psych] Round the io_reader clamp down to a character boundaryHEADmaster
Clamping the over-read at exactly the requested size could split a multibyte character, since the string an IO returns may carry a non-binary encoding. Round the cut down to the last character boundary at or before the size so the bytes handed to libyaml are always whole characters. https://github.com/ruby/psych/commit/6201ae17c1 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'spec/ruby/library/net-http/http/fixtures/http_server.rb')
0 files changed, 0 insertions, 0 deletions