Date: Tue, 30 Mar 1999 13:27:05 -0500 (EST) From: stanislav shalunov <shalunov@att.com> To: FreeBSD-gnats-submit@freebsd.org Cc: andreas@freebsd.org, jan@tdb.uu.se Subject: ports/10874: [PATCH] html2ps doesn't handle `file:/...' syntax Message-ID: <199903301827.NAA05144@tuzik.lz.att.com>
next in thread | raw e-mail | index | archive | help
>Number: 10874 >Category: ports >Synopsis: [PATCH] html2ps doesn't handle `file:/...' syntax >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 30 10:30:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: stanislav shalunov >Release: FreeBSD 3.1-RELEASE i386 >Organization: AT&T >Environment: html2ps version 1.0 beta1 installed via ports collection on FreeBSD 3.1-RELEASE (`make install' in /usr/ports/print/html2ps). (Two normal ports collection patches applied: one changes name of Perl, the other one TeX dir location.) >Description: html2ps chokes on pictures inserted via <img src="file:/foo/bar.gif"> Thus mswordview output isn't parsed properly. The output is, e.g., Error opening file:/usr/local/lib/mswordview/patterns/pagebreak.gif >How-To-Repeat: Process any HTML file with file:/... >Fix: --- /usr/local/bin/html2ps Tue Mar 23 14:28:36 1999 +++ html2ps Tue Mar 30 13:10:41 1999 @@ -4072,6 +4072,7 @@ $URL=$url; unless($url=~m|://|) { if($url=~m|^http:(.*)|) {$url=$1} + if($url=~m|^file:(.*)|) {$url=$1} if($url=~m|^/|) {$URL=$b1.$url} else {$URL=$b2.$url} } while($URL!~m|^\.\./| && $URL=~m|[^/]*/\.\./|) {$URL=$`.$'}; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903301827.NAA05144>