MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000031XdebugUsage problems (Wrong Results)public2003-11-20 14:472003-11-20 15:39
ReporterDavey 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000031: & entity replaced after others, wrong HTML output
DescriptionIt appears that xdebug replaces the & character after replacing all other entities, this means that the & in the entities (for example <) is being replaced and you end up with &lt; being output.
Additional InformationReproduce with:
<?php
    $object = new stdClass();
    $object->foo = 1;
    $object->bar = '<some><xml><tags>&enties</tags></xml></some>';
    $object->baz = 'plain text';
    $object->bat = TRUE;
    $object->qux = 1.8;
    $object->quux = array('quuux');
    var_dump($object);
    echo "<hr />";
    show_source(__FILE__);
?>
TagsNo tags attached.
Operating SystemWinXP Pro w/SP1
PHP Version4.3.3
Attached Files

- Relationships

-  Notes
(0000063)
derick (administrator)
2003-11-20 15:39

Fixed in CVS.
(0000064)
derick (administrator)
2003-11-20 15:39

Yeah, let's close it too. :)

- Issue History
Date Modified Username Field Change
2003-11-20 14:47 Davey New Issue
2003-11-20 15:39 derick Note Added: 0000063
2003-11-20 15:39 derick Status new => resolved
2003-11-20 15:39 derick Category Debug client (console) => Usage problems
2003-11-20 15:39 derick Status resolved => closed
2003-11-20 15:39 derick Note Added: 0000064
2016-07-31 13:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 13:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker