Commit 3e2f2e3
committed
bug symfony#52442 Disable the "Copy as cURL" button when the debug info are disabled (stof)
This PR was merged into the 6.3 branch.
Discussion
----------
Disable the "Copy as cURL" button when the debug info are disabled
| Q | A
| ------------- | ---
| Branch? | 6.3
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix symfony#52441
| License | MIT
Some versions of curl have a bug that prevents collecting the debug info. This is reported by writing an explanation message in the debug buffer.
When this is detecting, the "Copy as cURL" button is now skipped (like for other unsupported cases) instead of copying a broken command.
Commits
-------
f66dd14 Disable the "Copy as cURL" button when the debug info are disabledFile tree
1 file changed
+5
-0
lines changed- src/Symfony/Component/HttpClient/DataCollector
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
233 | 238 | | |
234 | 239 | | |
235 | 240 | | |
| |||
0 commit comments