Defect #30171 » 0001-Update-ciphering.rb.patch
lib/redmine/ciphering.rb | ||
---|---|---|
33 | 33 |
c.iv = iv |
34 | 34 |
e = c.update(text.to_s) |
35 | 35 |
e << c.final |
36 |
"aes-256-cbc:" + [e, iv].map {|v| Base64.encode64(v).strip}.join('--')
|
|
36 |
"aes-256-cbc:" + [e, iv].map {|v| Base64.strict_encode64(v)}.join('--')
|
|
37 | 37 |
end |
38 | 38 |
end |
39 | 39 |