From: Jean-Philippe Lang Date: Wed, 4 Mar 2009 17:37:28 +0000 (+0000) Subject: Fixed broken OpenID authentication after migration to Rails 2.2 (#2894). X-Git-Tag: 0.9.0~603 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=608d6683da9b7eea8d3a4ad08acbd2933fb18cb5;p=redmine.git Fixed broken OpenID authentication after migration to Rails 2.2 (#2894). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2551 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb b/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb index 54a38acc1..22481136e 100644 --- a/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb +++ b/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb @@ -222,7 +222,7 @@ module OpenIdAuthentication relative_url_root = self.class.respond_to?(:relative_url_root) ? self.class.relative_url_root.to_s : request.relative_url_root - "#{request.protocol}#{request.host_with_port}#{ActionController::AbstractRequest.relative_url_root}#{request.path}" + "#{request.protocol}#{request.host_with_port}#{relative_url_root}#{request.path}" end def timeout_protection_from_identity_server