summaryrefslogtreecommitdiffstats
path: root/lib/webrick
diff options
context:
space:
mode:
Diffstat (limited to 'lib/webrick')
-rw-r--r--lib/webrick/httpauth/authenticator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webrick/httpauth/authenticator.rb b/lib/webrick/httpauth/authenticator.rb
index fe2dbf4e0..f90d1bf75 100644
--- a/lib/webrick/httpauth/authenticator.rb
+++ b/lib/webrick/httpauth/authenticator.rb
@@ -42,7 +42,7 @@ module WEBrick
error("no credentials in the request.")
return nil
end
- unless match = /^#{@auth_scheme}\s+/.match(credentials)
+ unless match = /^#{@auth_scheme}\s+/i.match(credentials)
error("invalid scheme in %s.", credentials)
info("%s: %s", @request_field, credentials) if $DEBUG
return nil