View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000645 | Xdebug | Uncategorized | public | 2010-12-03 21:14 | 2020-03-12 17:01 |
Reporter | whatthejeff | Assigned To | derick | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | duplicate | ||
Product Version | 2.2dev | ||||
Fixed in Version | 2.2.2 | ||||
Summary | 0000645: Suggested improvements for xdebug_header_handler | ||||
Description | I've been noticing, especially in php 5.3+, that using Xdebug to inspect headers can yield some unexpected results. The source of the problem is that xdebug_header_handler always adds headers even though the intent might actually be to replace or delete headers. | ||||
Steps To Reproduce | Sample Code:<?php Desired Output:array(1) { Actual Output:array(4) { | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 5.3.0 | ||||
|
Suggested Patch (I'll provide tests in a bit): Index: xdebug.c--- xdebug.c (revision 3374) +static int xdebug_find_header(char *key, unsigned int len, xdebug_llist_element **found)
@@ -1683,7 +1736,6 @@
|
|
Test cases–including a test case for PHP 5.3+ with header_remove(). Index: tests/bug00645.phpt--- tests/bug00645.phpt (revision 0)
|
|
Duplicate of 0000903 which is fixed in Xdebug 2.2.2. |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-12-03 21:14 | whatthejeff | New Issue | |
2010-12-03 21:22 | whatthejeff | Note Added: 0001619 | |
2010-12-04 06:14 | whatthejeff | Note Added: 0001620 | |
2014-02-27 19:08 | derick | Note Added: 0002683 | |
2014-02-27 19:08 | derick | Relationship added | duplicate of 0000903 |
2014-02-27 19:08 | derick | Status | new => resolved |
2014-02-27 19:08 | derick | Fixed in Version | => 2.2.2 |
2014-02-27 19:08 | derick | Resolution | open => duplicate |
2014-02-27 19:08 | derick | Assigned To | => derick |
2020-03-12 17:01 | derick | Category | Feature/Change request => Uncategorized |