[xdebug-dev] xdebug xdebug/xdebug.c - Fixed bug #203: PHP errors with html content processed incorrectly. This

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Tue, 3 Oct 2006 21:07:06 +0200

Date: Tue Oct 3 21:07:06 CEST 2006
User: Derick Rethans
Directory: xdebug

Log Message:
[0.50]
- Fixed bug #203: PHP errors with html content processed incorrectly. This
  patch backs out the change that was made to fix bug #182.

Modified files:
           xdebug/xdebug.c (version: 1.348)

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.347
retrieving revision 1.348
diff -u -r1.347 -r1.348
--- xdebug/xdebug.c:1.347 Tue Oct 03 17:05:33 2006 GMT
+++ xdebug/xdebug.c Tue Oct 03 17:07:06 2006 GMT
@@ -1566,13 +1566,7 @@
                 "<tr><th align='left' bgcolor='#ee5555' colspan=\"3\">%s: <i>%s</i> in <i>%s</i> on line <i>%d</i></th></tr>\n"
                 : "\n%s: %s in %s on line %d\n";
         if (!log_only) {
- if (html) {
- error_string = xmlize(buffer, strlen(buffer), &dummy);
- php_printf(error_format, error_type_str, error_string, error_filename, error_lineno);
- efree(error_string);
- } else {
- php_printf(error_format, error_type_str, buffer, error_filename, error_lineno);
- }
+ php_printf(error_format, error_type_str, buffer, error_filename, error_lineno);
         }
 
         if (XG(stack) && XG(stack)->size) {
Received on Tue Oct 03 2006 - 21:07:07 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST