[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#222640: marked as done (A NAME match brokes url that have any option ended with name= (i.e. phpwiki generates options pagename=, postnuke generates optiones modname=))



Your message dated Sat, 28 May 2005 20:32:35 -0400
with message-id <E1DcBjH-0008Lw-00@newraff.debian.org>
and subject line Bug#222640: fixed in html2ps 1.0b3-5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 1 Dec 2003 18:34:36 +0000
>From andres@alamin.org Mon Dec 01 12:34:35 2003
Return-path: <andres@alamin.org>
Received: from newsamosa.debian.org [208.185.25.35] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AQssV-00019E-00; Mon, 01 Dec 2003 12:34:35 -0600
Received: from 75.red-217-126-190.pooles.rima-tde.net (mail.alamin.org) [217.126.190.75] 
	by newsamosa.debian.org with esmtp (Exim 3.35 #1 (Debian))
	id 1AQr69-0002h9-00; Mon, 01 Dec 2003 11:40:34 -0500
Received: by mail.alamin.org (Postfix, from userid 1000)
	id D24321C0A4; Mon,  1 Dec 2003 17:33:29 +0100 (CET)
From: Andres Seco Hernandez <AndresSH@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: A NAME match brokes url that have any option ended with name= (i.e. phpwiki generates options pagename=, postnuke generates optiones modname=)
X-Mailer: reportbug 1.50
Date: Mon, 01 Dec 2003 17:33:29 +0100
Message-Id: <20031201163329.D24321C0A4@mail.alamin.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-1.0 required=4.0 tests=BAYES_80,HAS_PACKAGE,
	HTML_MESSAGE autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20
X-Spam-Level: 

Package: html2ps
Version: 1.0b3-1.2
Severity: normal
Tags: patch

Some links generated from common web applications (postnuke, phpwiki)
generates url with the text "name=" inside them.

<A NAME= search in html2ps brokes this urls.

Example:
This url:
<a href="http://www.domain.com/modules.php?op=modload&name=phpWiki&file=index&pagename=SOMEPNAME"; class="named-wiki">SOMEPNAME</a>
must appear in the ps file as
/R4 (http://www.domain.com/modules.php?op=modload&name=phpWiki&file=index&pagename=SOMEPNAME) D

but html2ps currently generates
/R4 (http://www.domain.com/modules.php?op=modload&;) D
(cutted after the first time name= appears).

You need only to add a mandatory \s just before the word NAME in the
match regular expression. In html2ps 1.03b, line 2751:

new line:
while(/(<[aA]\s+[^>]*)\s[nN][aA][mM][eE]\s*=\s*(["']?)([^"'\s>]*)$R([^\s<)]*)/) {
old line:
while(/(<[aA]\s+[^>]*)[nN][aA][mM][eE]\s*=\s*(["']?)([^"'\s>]*)$R([^\s<)]*)/) {

Thanks for your html2ps program.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux shortg 2.4.20 #1 Fri Jun 13 00:31:09 CEST 2003 i686
Locale: LANG=es_ES, LC_CTYPE=es_ES

Versions of packages html2ps depends on:
ii  libhtml-parser-perl    3.25-1            A collection of modules that parse
pi  libwww-perl            5.64-1            WWW client/server library for Perl
ii  perl                   5.6.1-8.3         Larry Wall's Practical Extraction 
ii  perlmagick             4:5.4.4.5-1woody1 A perl interface to the libMagick 
ii  tetex-base             1.0.2+20011202-2  basic teTeX library files
ii  tk8.3 [wish]           8.3.3-8           The Tk toolkit for TCL and X11 v8.
ii  weblint                1.93-2            a syntax and minimal style checker


---------------------------------------
Received: (at 222640-close) by bugs.debian.org; 29 May 2005 00:43:13 +0000
>From katie@ftp-master.debian.org Sat May 28 17:43:13 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DcBtZ-00030T-00; Sat, 28 May 2005 17:43:13 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DcBjH-0008Lw-00; Sat, 28 May 2005 20:32:35 -0400
From: Nigel Jones <nigelj@gmail.com>
To: 222640-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#222640: fixed in html2ps 1.0b3-5
Message-Id: <E1DcBjH-0008Lw-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 28 May 2005 20:32:35 -0400
Delivered-To: 222640-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: html2ps
Source-Version: 1.0b3-5

We believe that the bug you reported is fixed in the latest version of
html2ps, which is due to be installed in the Debian FTP archive:

html2ps_1.0b3-5.diff.gz
  to pool/main/h/html2ps/html2ps_1.0b3-5.diff.gz
html2ps_1.0b3-5.dsc
  to pool/main/h/html2ps/html2ps_1.0b3-5.dsc
html2ps_1.0b3-5_all.deb
  to pool/main/h/html2ps/html2ps_1.0b3-5_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 222640@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nigel Jones <nigelj@gmail.com> (supplier of updated html2ps package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 26 May 2005 16:10:30 +1200
Source: html2ps
Binary: html2ps
Architecture: source all
Version: 1.0b3-5
Distribution: unstable
Urgency: low
Maintainer: Nigel Jones <nigelj@gmail.com>
Changed-By: Nigel Jones <nigelj@gmail.com>
Description: 
 html2ps    - HTML to PostScript converter
Closes: 222640 279769
Changes: 
 html2ps (1.0b3-5) unstable; urgency=low
 .
   * New Maintainer (closes: #279769)
   * Patched URL Handing (closes: #222640)
Files: 
 1ae2d2e401083e23461f762bdbdb37c7 562 text optional html2ps_1.0b3-5.dsc
 6898445737cba7654a2ed890d25ca793 6291 text optional html2ps_1.0b3-5.diff.gz
 91e71dbcfb8ecfc1d80916ba10df686c 146474 text optional html2ps_1.0b3-5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCmQmcgY5NIXPNpFURAu35AJwIboR/dhSlY+lrV+oXB7ME5/pATwCgpANm
8J59kDe0lP8jE/JKbLqSElI=
=4sSE
-----END PGP SIGNATURE-----



Reply to: