ruby-saml-bm 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,7 +24,9 @@ module Onelogin
24
24
  request_params = "#{params_prefix}SAMLRequest=#{encoded_request}"
25
25
 
26
26
  params.each_pair do |key, value|
27
- request_params << "&#{key}=#{CGI.escape(value.to_s)}"
27
+ if key == "back_url"
28
+ request_params << "&RelayState=#{CGI.escape(value.to_s)}"
29
+ end
28
30
  end
29
31
 
30
32
  settings.idp_sso_target_url + request_params
@@ -1,5 +1,5 @@
1
1
  module Onelogin
2
2
  module Saml
3
- VERSION = '0.7.0'
3
+ VERSION = '0.7.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: ruby-saml-bm
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.7.0
5
+ version: 0.7.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Extreme Development
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-05 00:00:00.000000000 Z
12
+ date: 2012-12-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: canonix