diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/webrick/httpauth/authenticator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webrick/httpauth/authenticator.rb b/lib/webrick/httpauth/authenticator.rb index fe2dbf4e0c..f90d1bf75b 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 |