lib/graphql/schema/base_64_encoder.rb in graphql-1.8.18 vs lib/graphql/schema/base_64_encoder.rb in graphql-1.9.0.pre1

- old
+ new

@@ -5,10 +5,10 @@ module GraphQL class Schema # @api private module Base64Encoder def self.encode(unencoded_text, nonce: false) - Base64.strict_encode64(unencoded_text) + Base64Bp.urlsafe_encode64(unencoded_text, padding: false) end def self.decode(encoded_text, nonce: false) # urlsafe_decode64 is for forward compatibility Base64Bp.urlsafe_decode64(encoded_text)