From dc15cc0e3a0ae35860626b37f54e1f94d227acea Mon Sep 17 00:00:00 2001 From: zuntum Date: Mon, 14 May 2001 16:01:22 +0000 Subject: Update p5-libwww to 5.53 2001-04-10 Gisle Aas Release 5.53 LWP::Simple::get() could sometimes return nothing on failure in list context. Now it always returns 'undef'. HTTP::Cookies does not request 2 dots on domain names any more. New option to hide the Cookie2 header. Cookie2 header now quote the version number. Updated reference to RFC 2965. Support for embedded userinfo in http proxy URIs. It means that you know can set up your proxy with things like: http_proxy="http://proxyuser:proxypass@proxyhost:port" Patch by John Klar . Experimental HTTP/1.1 support. New module called Net::HTTP that provide the lower level interface and a LWP::Protocol::http11 module that builds on it. The HTTP/1.1 protocol module must be loaded and registered explicitly, otherwise the old and trustworthy HTTP/1.0 module will be used. LWP::Protocol::GHTTP will try to use the get_headers() methods so that it can actually extract all the headers. 2001-03-29 Gisle Aas Release 5.52 HTTP::Header: new method $h->init_header() that will only set the header if it is not already set. Some shuffling around in the code. LWP::UserAgent will not override 'User-Agent', 'From' or 'Range' headers if they are explicitly set in the request passed in. HTML::Form tries to optimize parsing be restricting the tags that are reported by HTML::Parser. Will need HTML::Parser v3.19_93 or better for this to actually have any effect. LWP::Protocol::ftp now deals with path parameters again. It means that you can append ";type=a" to ftp-URI and it will download the document in ASCII mode. If the server output multiple Location headers on a redirect, ignore all but the first one. Extract cookies failed on request URIs with empty paths. This was only triggered if you used URI objects directly in scripts. This change was actually part of 5.51: Fix qop="auth" handling for Digest authentication. Patch by Dave Dunkin . 2001-03-14 Gisle Aas Release 5.51 SECURITY FIX: If LWP::UserAgent::env_proxy is called in a CGI environment, the case-insensitivity when looking for "http_proxy" permits "HTTP_PROXY" to be found, but this can be trivially set by the web client using the "Proxy:" header. The fix applied is that $ENV{HTTP_PROXY} is not longer honored for CGI scripts. The CGI_HTTP_PROXY environment variable can be used instead. Problem reported by Randal L. Schwartz. NOTE: It is recommended that everybody that use LWP::UserAgent (including LWP::Simple) in CGI scripts upgrade to this release. Explicit setting of action on HTML::Form had no effect because of a code typo. Patch by BooK . HTTP::Daemon: The CONNECT method need special treatment because it does not provide a URI as argument (just a "hostname:port"). The non-upward compatibility warning is that you must now call $request->url->host_port to get the host/port string for CONNECT, rather than calling $request->url and using the entire string. Based on patch from Randal L. Schwartz HTTP::Daemon: Create self URL based on $self->sockaddr. This works better when LocalAddr is used to specify the port number. Based on patch from Ben Low . Avoid potential ' chunk 1' messages at the end of the response 'message'. --- www/p5-libwww/Makefile | 4 ++-- www/p5-libwww/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/www/p5-libwww/Makefile b/www/p5-libwww/Makefile index a936a648542..3296fb87c3b 100644 --- a/www/p5-libwww/Makefile +++ b/www/p5-libwww/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.18 2001/02/17 17:22:27 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2001/05/14 16:01:22 zuntum Exp $ # FreeBSD Id: Makefile,v 1.12 1997/09/14 04:00:11 jfitz Exp # -DISTNAME= libwww-perl-5.50 +DISTNAME= libwww-perl-5.53 PKGNAME= p5-${DISTNAME:S/-perl-/-/} CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=WWW/} diff --git a/www/p5-libwww/distinfo b/www/p5-libwww/distinfo index 0238a279b10..6794087a032 100644 --- a/www/p5-libwww/distinfo +++ b/www/p5-libwww/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2001/04/20 12:02:41 skrll Exp $ +$NetBSD: distinfo,v 1.3 2001/05/14 16:01:23 zuntum Exp $ -SHA1 (libwww-perl-5.50.tar.gz) = 3980ff3bec6cbd162cf3a19f425fbfef0948904a -Size (libwww-perl-5.50.tar.gz) = 152710 bytes +SHA1 (libwww-perl-5.53.tar.gz) = b11904f3e4273e1db6d270d89b72a04183cfe15f +Size (libwww-perl-5.53.tar.gz) = 157267 bytes -- cgit v1.2.3