Skip to content
This repository
Browse code

Fix TRAC-1043.

  • Loading branch information...
commit d71967d416d844bf5399459e5e83f8ef4291cb5f 1 parent 27c7299
Sebastian Bergmann authored
2  PHPUnit/Util/Report/Node/File.php
@@ -466,7 +466,7 @@ public function render($target, $title, $charset = 'ISO-8859-1', $lowUpperBound
466 466
                       '&nbsp;<a href="#%d">%s</a>',
467 467
 
468 468
                       $methodData['startLine'],
469  
-                      $methodData['signature']
  469
+                      htmlspecialchars($methodData['signature'])
470 470
                     ),
471 471
                     'numClasses'           => '',
472 472
                     'numTestedClasses'     => '',
1  README.markdown
Source Rendered
@@ -7,6 +7,7 @@ PHPUnit 3.4.13
7 7
 --------------
8 8
 
9 9
 * Fixed TRAC-1035: PostgreSQL MetaData queries are incorrect.
  10
+* Fixed TRAC-1043: Method names in HTML code coverage report are not properly escaped.
10 11
 * The `--repeat` switch is no longer deprecated.
11 12
 
12 13
 PHPUnit 3.4.12

0 notes on commit d71967d

Please sign in to comment.
Something went wrong with that request. Please try again.