Skip to content

Commit

Permalink
Fix relative_url_root
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Jan 26, 2009
1 parent 4f2a24d commit 9235be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/open_id_authentication.rb
Expand Up @@ -222,7 +222,7 @@ def requested_url
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 + relative_url_root + request.path}"
"#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root}#{request.path}"
end

def timeout_protection_from_identity_server
Expand Down

0 comments on commit 9235be2

Please sign in to comment.