ruby-saml-mod 0.1.24 → 0.1.25

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,7 @@ module Onelogin::Saml
30
30
  @request_xml += "</samlp:AuthnRequest>"
31
31
 
32
32
  deflated_request = Zlib::Deflate.deflate(@request_xml, 9)[2..-5]
33
- base64_request = Base64.encode64(deflated_request)
33
+ base64_request = Base64.strict_encode64(deflated_request)
34
34
  encoded_request = CGI.escape(base64_request)
35
35
 
36
36
  @forward_url = @settings.idp_sso_target_url + (@settings.idp_sso_target_url.include?("?") ? "&" : "?") + "SAMLRequest=" + encoded_request
@@ -29,7 +29,7 @@ module Onelogin::Saml
29
29
  end
30
30
 
31
31
  deflated_logout_request = Zlib::Deflate.deflate(@request_xml, 9)[2..-5]
32
- base64_logout_request = Base64.encode64(deflated_logout_request)
32
+ base64_logout_request = Base64.strict_encode64(deflated_logout_request)
33
33
 
34
34
  url, existing_query_string = @settings.idp_slo_target_url.split('?')
35
35
  query_string = _query_string_append(existing_query_string, 'SAMLRequest', base64_logout_request)
@@ -1,9 +1,9 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{ruby-saml-mod}
3
- s.version = "0.1.24"
3
+ s.version = "0.1.25"
4
4
 
5
5
  s.authors = ["OneLogin LLC", "Bracken", "Zach", "Cody", "Jeremy", "Paul"]
6
- s.date = %q{2014-02-02}
6
+ s.date = %q{2014-03-12}
7
7
  s.extra_rdoc_files = [
8
8
  "LICENSE"
9
9
  ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-saml-mod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.24
4
+ version: 0.1.25
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2014-02-02 00:00:00.000000000 Z
17
+ date: 2014-03-12 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: libxml-ruby