diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-17 04:27:46 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-17 04:27:46 +0900 |
| commit | d28eefe6833e44db89a27e6afb5f15fc5d667b9b (patch) | |
| tree | 10044b08482eadcb69b48f1cab3632f17f6d3fc8 /crates/shirabe/src/command/exec_command.rs | |
| parent | 704ba2d87733657dea852fa697fc6d23a961a71b (diff) | |
| download | php-shirabe-d28eefe6833e44db89a27e6afb5f15fc5d667b9b.tar.gz php-shirabe-d28eefe6833e44db89a27e6afb5f15fc5d667b9b.tar.zst php-shirabe-d28eefe6833e44db89a27e6afb5f15fc5d667b9b.zip | |
fix(no-proxy-pattern): drop empty entries when splitting NO_PROXY
The PHP splits with PREG_SPLIT_NO_EMPTY, but the port dropped that flag,
so a leading separator in NO_PROXY kept an empty first entry. That made
"empty($hostNames) || '*' === $hostNames[0]" false for values such as
" *", turning "bypass the proxy for every host" into "use the proxy
for every host".
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/command/exec_command.rs')
0 files changed, 0 insertions, 0 deletions
