Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use Rack::Utils escape instead of CGI as it's included in Rack and ma…

…y fix the travis build :)
  • Loading branch information...
commit c0e7743b145a738af6e48e6d91a0e3f946f22bc7 1 parent a364cf4
@nicolasblanco nicolasblanco authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/omniauth/failure_endpoint.rb
View
4 lib/omniauth/failure_endpoint.rb
@@ -38,7 +38,7 @@ def strategy_name_query_param
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
Please sign in to comment.
Something went wrong with that request. Please try again.