summaryrefslogtreecommitdiff
path: root/lang/ruby18/patches/patch-ar
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby18/patches/patch-ar')
-rw-r--r--lang/ruby18/patches/patch-ar21
1 files changed, 0 insertions, 21 deletions
diff --git a/lang/ruby18/patches/patch-ar b/lang/ruby18/patches/patch-ar
deleted file mode 100644
index a8ef7a5229c..00000000000
--- a/lang/ruby18/patches/patch-ar
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ar,v 1.1 2005/01/23 17:33:19 taca Exp $
-
---- lib/webrick/httpauth/htpasswd.rb.orig 2003-07-24 01:51:36.000000000 +0900
-+++ lib/webrick/httpauth/htpasswd.rb
-@@ -32,7 +32,15 @@ module WEBrick
- open(@path){|io|
- while line = io.gets
- line.chomp!
-- user, pass = line.split(":")
-+ case line
-+ when %r!\A[^:]+:[a-zA-Z0-9./]{13}\z!
-+ user, pass = line.split(":")
-+ when /:\$/, /:\{SHA\}/
-+ raise NotImplementedError,
-+ 'MD5, SHA1 .htpasswd file not supported'
-+ else
-+ raise StandardError, 'bad .htpasswd file'
-+ end
- @passwd[user] = pass
- end
- }