View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002068 | Xdebug | Step Debugging | public | 2022-02-24 14:28 | 2022-04-04 11:32 |
Reporter | ncrusty | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 3.1.2 | ||||
Target Version | 3.1dev | Fixed in Version | 3.1.4 | ||
Summary | 0002068: Debug session can be started with "XDEBUG_SESSION_START=anything" when xdebug.trigger_value is set | ||||
Description | I'm trying to only start an xdebug session only when I pass a certain trigger string with the request via a cookie, like so:
Although I can get xdebug to start as planned with the trigger, I can also still start the session without the trigger using this generic request:
| ||||
Steps To Reproduce | Here's my complete xdebug config file:
This is on CentOS 7 and here's my xdebug/php version:
Here are logs from xdebug.log_level=10: ..passing no xdebug params:
..passing my trigger via the cookie:
..passing the XDEBUG_SESSION_START=anything cgi param
| ||||
Tags | No tags attached. | ||||
Operating System | CentOS 7 | ||||
PHP Version | 7.4.20-7.4.29 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2022-02-24 14:28 | ncrusty | New Issue | |
2022-03-07 14:27 | derick | Target Version | => 3.1dev |
2022-03-07 14:27 | derick | Summary | I can start a debug session with "XDEBUG_SESSION_START=anything" even though my config is to only start with a trigger => Debug session can be started with "XDEBUG_SESSION_START=anything" when xdebug.trigger_value is set |
2022-03-07 14:27 | derick | Note Added: 0006230 | |
2022-03-07 15:47 | derick | Assigned To | => derick |
2022-03-07 15:47 | derick | Status | new => closed |
2022-03-07 15:47 | derick | Resolution | open => fixed |
2022-03-07 15:47 | derick | Fixed in Version | => 3.1dev |
2022-04-04 11:32 | derick | Fixed in Version | 3.1dev => 3.1.4 |