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 | |||
| 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 | ||||