diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-03-08 17:38:37 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-03-08 17:38:37 +0900 |
commit | 2b7409a2f2aaab1368c57e1cd03c12b2b8972fa9 (patch) | |
tree | 1d3d2d2c5c91cd732fc093f0245acf6d67bf718c /lib/net/smtp.rb | |
parent | 53efe6328057ccb604a81541080aab3b3e1268d7 (diff) |
Specify explicit separator not to be affected by $;
Diffstat (limited to 'lib/net/smtp.rb')
-rw-r--r-- | lib/net/smtp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index da8c3f26b1..801f662d01 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -1042,7 +1042,7 @@ module Net return {} unless @string[3, 1] == '-' h = {} @string.lines.drop(1).each do |line| - k, *v = line[4..-1].split + k, *v = line[4..-1].split(' ') h[k] = v end h |