summaryrefslogtreecommitdiffstats
path: root/lib/webrick
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-03 14:54:20 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-03 14:54:20 +0000
commit23100cd2822437df131307930d0d2e57593573ce (patch)
tree4ea4a216cf7596bda2e24f4cab4d2f9e2e3c85a9 /lib/webrick
parentd8c38163e40ded483c2a658d6627929107077943 (diff)
downloadruby-23100cd2822437df131307930d0d2e57593573ce.tar.gz
ruby-23100cd2822437df131307930d0d2e57593573ce.tar.xz
ruby-23100cd2822437df131307930d0d2e57593573ce.zip
cosmetic.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/webrick')
-rw-r--r--lib/webrick/httpauth/basicauth.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webrick/httpauth/basicauth.rb b/lib/webrick/httpauth/basicauth.rb
index e835361dc..210fb00bb 100644
--- a/lib/webrick/httpauth/basicauth.rb
+++ b/lib/webrick/httpauth/basicauth.rb
@@ -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.")