r41079 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41078‎ | r41079 | r41080 >
Date:20:19, 20 September 2008
Author:ialex
Status:old
Tags:
Comment:
Be sure that this is escaped
Modified paths:
  • /trunk/extensions/ErrorHandler/ErrorHandler.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ErrorHandler/ErrorHandler.php
@@ -156,6 +156,8 @@
157157 } else {
158158 $func .= '()';
159159 }
 160+ $func = htmlspecialchars( $func );
 161+ $file = htmlspecialchars( $file );
160162
161163 if( $internal )
162164 $res = array( 'errorhandler-trace-line-internal', $func );