Skip to content

Commit

Permalink
Don't remove padding when encoding base64 in column_encryption plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Sep 14, 2023
1 parent 5ca610a commit 3322814
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/sequel/plugins/column_encryption.rb
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,6 @@ def decode64(str)

def urlsafe_encode64(bin)
str = [bin].pack("m0")
str.chomp!("=") unless str.chomp!("==")
str.tr!("+/", "-_")
str
end
Expand Down

0 comments on commit 3322814

Please sign in to comment.