Bug#606710: pnopaste: Unescaped ampersand
Am 11.12.2010 02:41, schrieb Harri Porten: Package: pnopaste Version: 1.4-2 Severity: normal Tags: upstream The link allowing a download of the pasted content contains an ampersand character. As the page's format is XHTML the ampersand should be escaped with the XML entity amp; to make the document well-formed. Patch for HTML.pm is attached. Thanks, fixed in upstream svn :) -- /* Mit freundlichem Gruß / With kind regards, Patrick Matthäi GNU/Linux Debian Developer E-Mail: pmatth...@debian.org patr...@linux-dev.org Comment: Always if we think we are right, we were maybe wrong. */ signature.asc Description: OpenPGP digital signature
Bug#606710: pnopaste: Unescaped ampersand
Package: pnopaste Version: 1.4-2 Severity: normal Tags: upstream The link allowing a download of the pasted content contains an ampersand character. As the page's format is XHTML the ampersand should be escaped with the XML entity amp; to make the document well-formed. Patch for HTML.pm is attached. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pnopaste depends on: ii apache2 2.2.16-4Apache HTTP Server metapackage ii apache2-mpm-worker [httpd] 2.2.16-4Apache HTTP Server - high speed th ii dbconfig-common 1.8.46 common framework for packaging dat ii debconf [debconf-2.0]1.5.36 Debian configuration management sy ii libgeo-ip-perl 1.38-1 Perl bindings for GeoIP library ii libsyntax-highlight-engine-k 0.05+dfsg-1 port to Perl of the syntax highlig ii perl 5.10.1-16 Larry Wall's Practical Extraction pnopaste recommends no packages. Versions of packages pnopaste suggests: pn pnopaste-cli none (no description available) --- lib/HTML.pm.org 2010-12-11 02:20:21.0 +0100 +++ lib/HTML.pm 2010-12-11 02:20:54.0 +0100 @@ -199,7 +199,7 @@ my $Line_Numbers = Format::Build_Line_Numbers($Code_Lines); - my $Get_Link = '' . Language::Get(6) . ''; + my $Get_Link = '' . Language::Get(6) . ''; my $New_Link = '' . Language::Get(6) . ''; Header();