summaryrefslogtreecommitdiff
path: root/lib/net/smtp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net/smtp.rb')
-rw-r--r--lib/net/smtp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb
index d634274c3e..250293bdbe 100644
--- a/lib/net/smtp.rb
+++ b/lib/net/smtp.rb
@@ -788,7 +788,7 @@ module Net
def base64_encode(str)
# expects "str" may not become too long
- [str].pack('m').gsub(/\s+/, '')
+ [str].pack('m0')
end
IMASK = 0x36