From 38b01597e86fbeaecc2f6ef6500214dfbd82fe8b Mon Sep 17 00:00:00 2001 From: HD Moore Date: Thu, 26 Oct 2006 02:42:04 +0000 Subject: [PATCH] Fix base64 git-svn-id: file:///home/svn/framework3/trunk@4057 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/text.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rex/text.rb b/lib/rex/text.rb index 2b74d51382..b6f1e15c12 100644 --- a/lib/rex/text.rb +++ b/lib/rex/text.rb @@ -415,7 +415,7 @@ module Text # Base64 encoder # def self.encode_base64(str) - Base64.encode64(str).chomp + Base64.encode64(str).gsub(/\s+/, '') end #