svn: /web/doc-editor/trunk/ error_type.php

[email protected] (Neal Poole)
Newsgroups php.doc.web
Message-ID <[email protected]>
nbpoole                                  Thu, 23 Jun 2011 22:18:33 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=312422

Log:
Fix minor output escaping issue.

Changed paths:
    U   web/doc-editor/trunk/error_type.php

Modified: web/doc-editor/trunk/error_type.php
===================================================================
--- web/doc-editor/trunk/error_type.php	2011-06-23 22:14:53 UTC (rev 312421)
+++ web/doc-editor/trunk/error_type.php	2011-06-23 22:18:33 UTC (rev 312422)
@@ -288,7 +288,7 @@

 // Display title
 if( $fileLibel ) {
-    echo '<h1 class="error-type-title">Check for errors in '.$fileLibel.'</h1>';
+    echo '<h1 class="error-type-title">Check for errors in '.htmlspecialchars($fileLibel).'</h1>';
 }

 ksort($to_display);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.