mirror of
https://github.com/omniauth/omniauth.git
synced 2022-11-09 12:31:49 -05:00
Use Rack::Utils escape instead of CGI as it's included in Rack and may fix the travis build :)
This commit is contained in:
parent
a364cf4bea
commit
c0e7743b14
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ module OmniAuth
|
|||
|
||||
def origin_query_param
|
||||
return "" unless env['omniauth.origin']
|
||||
"&origin=#{CGI.escape(env['omniauth.origin'])}"
|
||||
"&origin=#{Rack::Utils.escape(env['omniauth.origin'])}"
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue