summaryrefslogtreecommitdiff
path: root/lib/authorization.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2011-01-26 16:16:09 +0100
committermguetlein <martin.guetlein@gmail.com>2011-01-26 16:16:09 +0100
commit171ab814d15b9504ef9892ba5f194de8bc019f46 (patch)
tree4808d47373f6cb8b897bcf3b258bdad30b961736 /lib/authorization.rb
parent53a6d76d44543ba8109bc6fa1a609e30dd7e91ff (diff)
minor fix
Diffstat (limited to 'lib/authorization.rb')
-rw-r--r--lib/authorization.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/authorization.rb b/lib/authorization.rb
index 6a8a174..a6253b7 100644
--- a/lib/authorization.rb
+++ b/lib/authorization.rb
@@ -362,7 +362,7 @@ module OpenTox
elsif uri_match.is_a?(String)
uri_regex = Regexp.new("^"+uri_match+"$")
else
- raise "uri-match param is neither string(->exact uri match) nor regexp: "+uri_match.class
+ raise "uri-match param is neither string(->exact uri match) nor regexp: "+uri_match.class.to_s
end
LOGGER.info("whitelisted "+request_method.to_s+" "+uri_regex.to_s)
@@whitelist[request_method] = [] unless @@whitelist[request_method]