diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2022-07-21 14:50:44 +0200 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2022-07-21 18:43:45 +0200 |
| commit | 79406e3600862bbb6dcdd7c5ef8de1978e6f916c (patch) | |
| tree | 72dabd6309768b702d7d740b2af97688fea4a973 /tool/lib/webrick/https.rb | |
| parent | 5b21e94bebed90180d8ff63dad03b8b948361089 (diff) | |
objspace_dump.c: skip dumping method name if not pure ASCII
Sidekiq has a method named `❨╯°□°❩╯︵┻━┻`which corrupts
heap dumps.
Normally we could just dump is as is since it's valid UTF-8 and need
no escaping. But our code to escape control characters isn't UTF-8
aware so it's more complicated than it seems.
Ultimately since the overwhelming majority of method names are
pure ASCII, it's not a big loss to just skip it.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6161
Diffstat (limited to 'tool/lib/webrick/https.rb')
0 files changed, 0 insertions, 0 deletions
