mirror of
https://github.com/redmine/redmine.git
synced 2026-03-26 22:30:50 +01:00
Merged r17763 from trunk to 4.0-stable (#30171).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17765 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user