diff options
Diffstat (limited to 'lang/ruby18/patches/patch-as')
-rw-r--r-- | lang/ruby18/patches/patch-as | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/lang/ruby18/patches/patch-as b/lang/ruby18/patches/patch-as deleted file mode 100644 index 7e7028f6034..00000000000 --- a/lang/ruby18/patches/patch-as +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-as,v 1.1 2005/01/23 17:33:19 taca Exp $ - ---- lib/webrick/httpproxy.rb.orig 2004-08-22 01:16:18.000000000 +0900 -+++ lib/webrick/httpproxy.rb -@@ -110,7 +110,8 @@ module WEBrick - proxy_host = proxy.host - proxy_port = proxy.port - if proxy.userinfo -- credentials = "Basic " + encode64(proxy.userinfo) -+ credentials = "Basic " + [proxy.userinfo].pack("m*") -+ credentials.chomp! - header['proxy-authorization'] = credentials - end - end -@@ -170,7 +171,8 @@ module WEBrick - if proxy = proxy_uri(req, res) - proxy_request_line = "CONNECT #{host}:#{port} HTTP/1.0" - if proxy.userinfo -- credentials = "Basic " + encode64(proxy.userinfo) -+ credentials = "Basic " + [proxy.userinfo].pack("m*") -+ credentials.chomp! - end - host, port = proxy.host, proxy.port - end |