Commit 224124d
committed
bug #58704 [HttpClient] fix for HttpClientDataCollector fails if proc_open is disabled via php.ini (ZaneCEO)
This PR was merged into the 6.4 branch.
Discussion
----------
[HttpClient] fix for HttpClientDataCollector fails if proc_open is disabled via php.ini
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix #58700
| License | MIT
[HttpClientDataCollector::escapePayload](https://github.com/symfony/symfony/blob/7.1/src/Symfony/Component/HttpClient/DataCollector/HttpClientDataCollector.php#L256) creates a `new Process()` -> it fails if `proc_open` is disabled:
> The Process class relies on proc_open, which is not available on your PHP installation.
symfony/symfony#58700
Commits
-------
e28af345004 [HttpClient] Fix Process-based escaping in HttpClientDataCollector
48980a2f05a fix for HttpClientDataCollector fails if proc_open is disabled via php.ini . Closes #587001 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
256 | | - | |
| 255 | + | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| |||
0 commit comments