From e9abbe76835880b3ce5e2c700a79ac446ff87e8c Mon Sep 17 00:00:00 2001 From: hsbt Date: Mon, 16 Nov 2015 03:11:20 +0000 Subject: * 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 --- lib/webrick/httpauth/basicauth.rb | 3 +-- lib/webrick/httpauth/digestauth.rb | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/webrick') 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) -- cgit v1.2.3