[ruby-cvs:68578] normal:r61397 (trunk): webrick: httpauth requires regular files

normal at ruby-lang.org normal at ruby-lang.org
Fri Dec 22 10:07:39 JST 2017


normal	2017-12-22 10:07:39 +0900 (Fri, 22 Dec 2017)

  New Revision: 61397

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61397

  Log:
    webrick: httpauth requires regular files
    
    Be sure we do not try to open a pipe to read from, since we care
    about mtime in all cases.
    
    * lib/webrick/httpauth/htdigest.rb: use File.open
    * lib/webrick/httpauth/htgroup.rb: ditto
    * lib/webrick/httpauth/htpasswd.rb: ditto
      [Misc #14216]

  Modified files:
    trunk/lib/webrick/httpauth/htdigest.rb
    trunk/lib/webrick/httpauth/htgroup.rb
    trunk/lib/webrick/httpauth/htpasswd.rb


More information about the ruby-cvs mailing list