mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
cosmetic.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8345e6fdd3
commit
2fdd278c86
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ module WEBrick
|
|||
unless basic_credentials = check_scheme(req)
|
||||
challenge(req, res)
|
||||
end
|
||||
userid, password = basic_credentials.unpack("m*")[0].split(":", 2)
|
||||
userid, password = basic_credentials.unpack("m*")[0].split(":", 2)
|
||||
password ||= ""
|
||||
if userid.empty?
|
||||
error("user id was not given.")
|
||||
|
|
Loading…
Reference in a new issue