0001-Update-ciphering.rb.patch

patch by Nik Il - Go MAEDA, 2018-12-10 07:38

Download (849 Bytes)

View differences:

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

  
40
-