Remove whitespace from base64

git-svn-id: file:///home/svn/framework3/trunk@4238 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2006-12-28 19:56:57 +00:00
parent bb79a9a6be
commit 7d949bf802
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,7 @@ module Text
# Base64 encoder
#
def self.encode_base64(str)
[str].pack("m").strip
[str].pack("m").gsub(/\s+/, '')
end
#