View Issue Details

IDProjectCategoryView StatusLast Update
0000684XdebugUsage problems (Wrong Results)public2014-02-27 19:12
ReporterrovangjuAssigned Toderick 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionnot fixable 
PlatformAllOSAllOS VersionAll
Product Version2.1.0 
Target VersionFixed in Version 
Summary0000684: var_dump - IE does not support '
DescriptionCode utilizes ' instead of ' - which IE does not even acknowledge exists.
Steps To Reproduce<?
var_dump('Testing isn\'t fun');
// Output is proper in FF/Chrome, as expected: Testing isn't fun
// Output in IE: Testing isn't fun
?>
Additional InformationSee diff for details - essentially replace ' in php_str_to_str() call in xdebug_var.c with ' - Confirmed working after patch.
TagsNo tags attached.
Operating System
PHP Version5.3.6

Activities

rovangju

2011-04-25 21:13

reporter  

dmp.diff (420 bytes)
--- xdebug_var.orig.c	2011-04-25 16:03:12.000000000 -0500
+++ xdebug_var.c	2011-04-25 15:53:24.000000000 -0500
@@ -1393,7 +1393,7 @@
 		tmp2 = php_str_to_str(tmp, len, "\"", 1, "&quot;", 6, &len);
 		efree(tmp);
 
-		tmp = php_str_to_str(tmp2, len, "'", 1, "&apos;", 6, &len);
+		tmp = php_str_to_str(tmp2, len, "'", 1, "&#39;", 5, &len);
 		efree(tmp2);
 
 		tmp2 = php_str_to_str(tmp, len, "\n", 1, "&#10;", 5, &len);
dmp.diff (420 bytes)

rovangju

2011-04-25 21:15

reporter   ~0001726

Last edited: 2011-04-25 21:16

View 5 revisions

ok wow... let's try that again:

IE doesn't support &apos; -

Patching file to use &(#)39; instead of &apos; resolves.

derick

2014-02-27 19:12

administrator   ~0002688

I am not going to add workarounds for weird bugs in IE. ' should work perfectly everywhere.

Issue History

Date Modified Username Field Change
2011-04-25 21:13 rovangju New Issue
2011-04-25 21:13 rovangju File Added: dmp.diff
2011-04-25 21:15 rovangju Note Added: 0001726
2011-04-25 21:16 rovangju Note Edited: 0001726 View Revisions
2011-04-25 21:16 rovangju Note Edited: 0001726 View Revisions
2011-04-25 21:16 rovangju Note Edited: 0001726 View Revisions
2011-04-25 21:16 rovangju Note Edited: 0001726 View Revisions
2014-02-27 19:12 derick Note Added: 0002688
2014-02-27 19:12 derick Status new => resolved
2014-02-27 19:12 derick Resolution open => not fixable
2014-02-27 19:12 derick Assigned To => derick
2016-07-31 12:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 12:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)