diff options
author | Konstantin Haase <konstantin.mailinglists@googlemail.com> | 2011-03-18 14:35:53 +0100 |
---|---|---|
committer | James Tucker <jftucker@gmail.com> | 2011-05-23 00:15:13 -0700 |
commit | deab855f2894a1e50e737464e0008d94f41529e6 (patch) | |
tree | c7711e5692f5d1027cd2d308120dfbc165a0b857 | |
parent | 90cca4837fa6bcf299f5c7c4561c192a3887a16c (diff) | |
download | rack-deab855f2894a1e50e737464e0008d94f41529e6.tar.gz |
in auth/digest/params, do not accidentially pass block used for construction to Hash#initialize, where it is used for default values at might be triggered again later on
-rw-r--r-- | lib/rack/auth/digest/params.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/auth/digest/params.rb b/lib/rack/auth/digest/params.rb index f2dd8a54..151bc424 100644 --- a/lib/rack/auth/digest/params.rb +++ b/lib/rack/auth/digest/params.rb @@ -22,7 +22,7 @@ module Rack end def initialize - super + super() yield self if block_given? end |