View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000964 | Xdebug | Step Debugging | public | 2013-07-16 19:07 | 2017-12-02 16:19 |
| Reporter | mslade | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Linux | OS | BU Linux | OS Version | 5.0 |
| Product Version | 2.2.2 | ||||
| Fixed in Version | 2.6.0alpha1 | ||||
| Summary | 0000964: Xdebug does not parse X-Forwarded-For | ||||
| Description | Xdebug uses the X-Forwarded-For header for remote_connect_back but it doesn't parse the header value. It assumes it to be a single IP, so when multiple IPs are included here it results in a malformed hostname. Here is an example from my log file: I: Remote address found, connecting to 168.122.67.172, 168.122.67.172:9000. | ||||
| Steps To Reproduce |
I: Remote address found, connecting to 127.0.0.1, 127.0.0.2:9000. | ||||
| Additional Information | https://en.wikipedia.org/wiki/X-Forwarded-For#Format Note that I tested this against 2.2.2, but it appears to be the same in 2.2.3. | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.4.0 | ||||