diff options
author | Christoph Helma <helma@in-silico.ch> | 2012-08-17 16:46:55 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2012-08-17 16:46:55 +0200 |
commit | 482e408c9f5509a2615a50247a8fe67588127a99 (patch) | |
tree | 359dc4ff417e7a82ebf7994f0870a573073ac948 | |
parent | f844ca5a9f18b8ca10275b3cc3a46053373cabbd (diff) | |
parent | e92f713ee73b70d7c6fb9ed0d754989aebf77646 (diff) |
Merge branch 'development' of github.com:opentox/opentox-server into development
-rw-r--r-- | lib/authorization-helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/authorization-helper.rb b/lib/authorization-helper.rb index b0b5374..5e2f1d5 100644 --- a/lib/authorization-helper.rb +++ b/lib/authorization-helper.rb @@ -56,7 +56,7 @@ module OpenTox elsif !env["session"] && subjectid unless authorized?(subjectid) $logger.debug "URI not authorized: clean: " + clean_uri("#{request.env['rack.url_scheme']}://#{request.env['HTTP_HOST']}#{request.env['REQUEST_URI']}").sub("http://","https://").to_s + " full: #{request.env['rack.url_scheme']}://#{request.env['HTTP_HOST']}#{request.env['REQUEST_URI']} with request: #{request.env['REQUEST_METHOD']}" - unauthorized_error "Not authorized" + unauthorized_error "Not authorized #{request.env['rack.url_scheme']}://#{request.env['HTTP_HOST']}#{request.env['REQUEST_URI']} with request: #{request.env['REQUEST_METHOD']}" end else unauthorized_error "Not authorized" unless authorized?(subjectid) |