summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-12-17 23:47:52 +0000
committerGo MAEDA <maeda@farend.jp>2018-12-17 23:47:52 +0000
commit312c067b32557b7875462b468a57a4801a3c5a9e (patch)
tree790c6eb8be78404cadb70eff2b1193e65f707a7f /lib
parent64889c6c071308dcd1ed292f3543ae0caca0c3a3 (diff)
downloadredmine-312c067b32557b7875462b468a57a4801a3c5a9e.tar.gz
redmine-312c067b32557b7875462b468a57a4801a3c5a9e.zip
Merged r17763 from trunk to 3.4-stable (#30171).
git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17767 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/ciphering.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/ciphering.rb b/lib/redmine/ciphering.rb
index 61f309b40..ad30e035f 100644
--- a/lib/redmine/ciphering.rb
+++ b/lib/redmine/ciphering.rb
@@ -33,7 +33,7 @@ module Redmine
c.iv = iv
e = c.update(text.to_s)
e << c.final
- "aes-256-cbc:" + [e, iv].map {|v| Base64.encode64(v).strip}.join('--')
+ "aes-256-cbc:" + [e, iv].map {|v| Base64.strict_encode64(v)}.join('--')
end
end