diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-16 03:11:20 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-16 03:11:20 +0000 |
commit | e9abbe76835880b3ce5e2c700a79ac446ff87e8c (patch) | |
tree | 07fd11b40aee509b929fc6710b089a88dcd9db6f /lib | |
parent | bb34f5fe8bba8f282f7af90185ae1f9aae45ee14 (diff) | |
download | ruby-e9abbe76835880b3ce5e2c700a79ac446ff87e8c.tar.gz |
* lib/webrick/httpauth/basicauth.rb: fix a typo.
[ci skip][fix GH-1099] Patch by @jwworth
* lib/webrick/httpauth/digestauth.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/webrick/httpauth/basicauth.rb | 3 | ||||
-rw-r--r-- | lib/webrick/httpauth/digestauth.rb | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/webrick/httpauth/basicauth.rb b/lib/webrick/httpauth/basicauth.rb index 3ff20b56d2..ed5dcd1fcd 100644 --- a/lib/webrick/httpauth/basicauth.rb +++ b/lib/webrick/httpauth/basicauth.rb @@ -89,8 +89,7 @@ module WEBrick end ## - # Returns a challenge response which asks for for authentication - # information + # Returns a challenge response which asks for authentication information def challenge(req, res) res[@response_field] = "#{@auth_scheme} realm=\"#{@realm}\"" diff --git a/lib/webrick/httpauth/digestauth.rb b/lib/webrick/httpauth/digestauth.rb index 0eea94774f..d94bd890eb 100644 --- a/lib/webrick/httpauth/digestauth.rb +++ b/lib/webrick/httpauth/digestauth.rb @@ -128,8 +128,7 @@ module WEBrick end ## - # Returns a challenge response which asks for for authentication - # information + # Returns a challenge response which asks for authentication information def challenge(req, res, stale=false) nonce = generate_next_nonce(req) |