summaryrefslogtreecommitdiff
path: root/lib/base64.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base64.rb')
-rw-r--r--lib/base64.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base64.rb b/lib/base64.rb
index a6bf1adf92..9bb6487bee 100644
--- a/lib/base64.rb
+++ b/lib/base64.rb
@@ -46,7 +46,7 @@ def j2e(str)
end
def decode_b(str)
- str.gsub!(/=\?ISO-2022-JP\?B\?([!->@-~]+)\?=/) {
+ str.gsub!(/=\?ISO-2022-JP\?B\?([!->@-~]+)\?=/i) {
decode64($1)
}
str.gsub!(/\n/, ' ')