Skip to content

Commit

Permalink
Reuse encode in encode_raw_saml method
Browse files Browse the repository at this point in the history
  • Loading branch information
pitbulk committed Sep 10, 2018
1 parent f366365 commit da2fb2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/onelogin/ruby-saml/saml_message.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def decode_raw_saml(saml)
def encode_raw_saml(saml, settings)
saml = deflate(saml) if settings.compress_request

CGI.escape(Base64.encode64(saml))
CGI.escape(encode(saml))
end

# Base 64 decode method
Expand Down

0 comments on commit da2fb2b

Please sign in to comment.