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

Bug#747348: marked as done ([www] : do html escape is the right fix)



Your message dated Sun, 30 Jul 2017 14:34:25 +0200
with message-id <b750f11f-4097-b16c-f964-fd6d0e6a34ef@debian.org>
and subject line Bug #747348 [www] : do html escape is the right fix (in stattrans.pl, maintainers names)
has caused the Debian Bug report #747348,
regarding [www] : do html escape is the right fix
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
747348: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747348
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: www.debian.org
Severity: wishlist
Tags: patch 

html escape is needed *before* output here:

+	    $maintainer{"$lang/$file"} =~ s/&/&amp;/g;
+	    $maintainer{"$lang/$file"} =~ s/</&lt;/g;
+	    $maintainer{"$lang/$file"} =~ s/>/&gt;/g;

-- 
victory
no need to CC me :-)
http://userscripts.org/scripts/show/102724 0.0.1.4
http://userscripts.org/scripts/show/163846 0.0.1
http://userscripts.org/scripts/show/163848 0.0.1
--- stattrans-r115.pl	2014-05-08 02:46:02 +0900
+++ stattrans.pl	2014-05-08 02:46:27 +0900
@@ -192,6 +192,9 @@
 	}
 	if ($transcheck->maintainer()) {
 	    $maintainer{"$lang/$file"} = $transcheck->maintainer();
+	    $maintainer{"$lang/$file"} =~ s/&/&amp;/g;
+	    $maintainer{"$lang/$file"} =~ s/</&lt;/g;
+	    $maintainer{"$lang/$file"} =~ s/>/&gt;/g;
 	}
 	$count++;
 	$sizes{$file} = (stat "".($original{"english/$file"}||"english")."/".$file)[7];

--- End Message ---
--- Begin Message ---
Hello

Not exactly the patch provided by Victory, but I think this bug is
solved with this commit by Tobias Quathamer in strattrans.pl file:

https://anonscm.debian.org/viewvc/webwml/webwml/stattrans.pl?r1=1.125&r2=1.126

Hence closing this bug, feel free to reopen if I'm wrong.

Thanks Victory and Tobias!

-- 
Laura Arjona Reina
https://wiki.debian.org/LauraArjona

--- End Message ---

Reply to: