René's URL Explorer Experiment


Title: Fix: Properly escape PHP binary path in wp cli update by Copilot · Pull Request #852 · wp-cli/wp-cli-bundle · GitHub

Open Graph Title: Fix: Properly escape PHP binary path in wp cli update by Copilot · Pull Request #852 · wp-cli/wp-cli-bundle

X Title: Fix: Properly escape PHP binary path in wp cli update by Copilot · Pull Request #852 · wp-cli/wp-cli-bundle

Description: 📦 WP-CLI package that bundles the framework with a set of common commands - Fix: Properly escape PHP binary path in wp cli update by Copilot · Pull Request #852 · wp-cli/wp-cli-bundle

Open Graph Description: wp cli update fails when the PHP binary path contains spaces because string interpolation doesn't escape shell arguments. The shell interprets /Users/user/Library/Application Support/php as sep...

X Description: wp cli update fails when the PHP binary path contains spaces because string interpolation doesn't escape shell arguments. The shell interprets /Users/user/Library/Application Support/php as...

Opengraph URL: https://github.com/wp-cli/wp-cli-bundle/pull/852

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:0f68a827-2fb8-7be0-e13d-b0db8d94ef31
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB35C:141D8D:5743FA9:72DBC97:6AFA3D15
html-safe-nonce31ac990a8f9f80d4d9e34431607d70e3737c2bd6b26c47cb21bebc5c8cb73563
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzVDOjE0MUQ4RDo1NzQzRkE5OjcyREJDOTc6NkFGQTNEMTUiLCJ2aXNpdG9yX2lkIjoiNDU1NjAyMDQ3MzgxMjEwNjUxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2c1ec2a70a56e82eee6f8941e18b3059b0789fbe77df74a50097f6afc26a00dc
hovercard-subject-tagpull_request:3199080395
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/wp-cli/wp-cli-bundle/852/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8e5cda75ec44d3eab20d09c7048026bd529f9ed72981d723cf7d2694f9ddd7d0/wp-cli/wp-cli-bundle/pull/852
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8e5cda75ec44d3eab20d09c7048026bd529f9ed72981d723cf7d2694f9ddd7d0/wp-cli/wp-cli-bundle/pull/852
og:image:altwp cli update fails when the PHP binary path contains spaces because string interpolation doesn't escape shell arguments. The shell interprets /Users/user/Library/Application Support/php as sep...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCopilot
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-cache
go-importgithub.com/wp-cli/wp-cli-bundle git https://github.com/wp-cli/wp-cli-bundle.git
octolytics-dimension-user_id1570774
octolytics-dimension-user_loginwp-cli
octolytics-dimension-repository_id143017773
octolytics-dimension-repository_nwowp-cli/wp-cli-bundle
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143017773
octolytics-dimension-repository_network_root_nwowp-cli/wp-cli-bundle
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/wp-cli/wp-cli-bundle/pull/852#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli-bundle%2Fpull%2F852
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli-bundle%2Fpull%2F852
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=wp-cli%2Fwp-cli-bundle
Reloadhttps://github.com/wp-cli/wp-cli-bundle/pull/852
Reloadhttps://github.com/wp-cli/wp-cli-bundle/pull/852
Reloadhttps://github.com/wp-cli/wp-cli-bundle/pull/852
wp-clihttps://github.com/wp-cli
wp-cli-bundlehttps://github.com/wp-cli/wp-cli-bundle
Codehttps://github.com/wp-cli/wp-cli-bundle
Issues2 (2)https://github.com/wp-cli/wp-cli-bundle/issues
Pull requests2 (2)https://github.com/wp-cli/wp-cli-bundle/pulls
Actionshttps://github.com/wp-cli/wp-cli-bundle/actions
Security and qualityhttps://github.com/wp-cli/wp-cli-bundle/security
Insightshttps://github.com/wp-cli/wp-cli-bundle/pulse
https://github.com/wp-cli/wp-cli-bundle
swissspidyhttps://github.com/swissspidy
Copilothttps://github.com/apps/copilot-swe-agent
mainhttps://github.com/wp-cli/wp-cli-bundle/tree/main
copilot/fix-php-binary-path-escapehttps://github.com/wp-cli/wp-cli-bundle/tree/copilot/fix-php-binary-path-escape
Conversationhttps://github.com/wp-cli/wp-cli-bundle/pull/852
Commits7 (7)https://github.com/wp-cli/wp-cli-bundle/pull/852/commits
Checkshttps://github.com/wp-cli/wp-cli-bundle/pull/852/checks
Files changedhttps://github.com/wp-cli/wp-cli-bundle/pull/852/files
Fix: Properly escape PHP binary path in wp cli updatehttps://github.com/wp-cli/wp-cli-bundle/pull/852#top
swissspidyhttps://github.com/swissspidy
Copilothttps://github.com/apps/copilot-swe-agent
mainhttps://github.com/wp-cli/wp-cli-bundle/tree/main
copilot/fix-php-binary-path-escapehttps://github.com/wp-cli/wp-cli-bundle/tree/copilot/fix-php-binary-path-escape
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Jan 22, 2026https://github.com/wp-cli/wp-cli-bundle/pull/852#issue-3842604290
Please reload this pagehttps://github.com/wp-cli/wp-cli-bundle/pull/852
contribution guidelineshttps://make.wordpress.org/cli/handbook/contributing/
how to write clear bug reportshttps://make.wordpress.org/cli/handbook/bug-reports/
https://private-user-images.githubusercontent.com/62191853/255220014-346e2dc2-d7a0-48a0-8b18-f0bd5b8700c8.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ3ODQ4MzQsIm5iZiI6MTc5NDc4NDUzNCwicGF0aCI6Ii82MjE5MTg1My8yNTUyMjAwMTQtMzQ2ZTJkYzItZDdhMC00OGEwLThiMTgtZjBiZDViODcwMGM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTE1VDIzMTUzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgzMjBiOTM5OWRiN2MyYTQwOWJjM2IyZTQyZDdiODhkMTZhODZlMzkwNjc4NjliZGM3ZjYxZTM2ZDAzNWQwZGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.tXgGh1bLpbe4sSZRzXfFQNFU6fE4Pn92ctQSA09zddc
@copilothttps://gh.io/copilot-coding-agent-docs
@danielbachhuberhttps://github.com/danielbachhuber
@adamperrryhttps://github.com/adamperrry
https://github.com/wp-cli/wp-cli/blob/90be24dcbb4c89b2f4b1f9e9562b474fb3b50716/php/utils.php#L269-L283https://github.com/wp-cli/wp-cli/blob/90be24dcbb4c89b2f4b1f9e9562b474fb3b50716/php/utils.php#L269-L283
guidance on our pull request best practiceshttps://make.wordpress.org/cli/handbook/contributions/pull-requests/
wp-cli-bundle/features/cli.featurehttps://github.com/wp-cli/wp-cli-bundle/blob/22e60f0568d54d91fca9c4c993c16df12252e54d/features/cli.feature#L31-L71
22e60f0https://github.com/wp-cli/wp-cli-bundle/commit/22e60f0568d54d91fca9c4c993c16df12252e54d
@danielbachhuberhttps://github.com/danielbachhuber
@adamperrryhttps://github.com/adamperrry
https://github.com/wp-chttps://github.com/wp-c
Update command doesn't escape php_binary path, update fails when path has spaces wp-cli#5815https://github.com/wp-cli/wp-cli/issues/5815
2 minute surveyhttps://gh.io/copilot-coding-agent-survey
Please reload this pagehttps://github.com/wp-cli/wp-cli-bundle/pull/852
https://github.com/apps/copilot-swe-agent
Initial planhttps://github.com/wp-cli/wp-cli-bundle/pull/852/commits/0d505a415a85de140485cde5f779bf1a87ad4835
0d505a4https://github.com/wp-cli/wp-cli-bundle/pull/852/commits/0d505a415a85de140485cde5f779bf1a87ad4835
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
swissspidyhttps://github.com/swissspidy
Jan 22, 2026https://github.com/wp-cli/wp-cli-bundle/pull/852#event-22214196314
started workhttps://github.com/wp-cli/wp-cli-bundle/sessions/d5a30739-98ec-4ac6-ab91-00dafaa6f4ba
swissspidyhttps://github.com/swissspidy
January 22, 2026 11:58https://github.com/wp-cli/wp-cli-bundle/pull/852#event-22214205033
View session https://github.com/wp-cli/wp-cli-bundle/sessions/d5a30739-98ec-4ac6-ab91-00dafaa6f4ba
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
scope:framework https://github.com/wp-cli/wp-cli-bundle/issues?q=state%3Aopen%20label%3Ascope%3Aframework
Jan 22, 2026https://github.com/wp-cli/wp-cli-bundle/pull/852#event-22214269771
Copilothttps://github.com/apps/copilot-swe-agent
January 22, 2026 12:03https://github.com/wp-cli/wp-cli-bundle/pull/852#commits-pushed-7250425
https://github.com/apps/copilot-swe-agent
https://github.com/swissspidy
Add test for PHP binary path with spaces and apply fix to CLI_Commandhttps://github.com/wp-cli/wp-cli-bundle/pull/852/commits/72504256200d00158b828290c11ab3a7a1e4b28b
7250425https://github.com/wp-cli/wp-cli-bundle/pull/852/commits/72504256200d00158b828290c11ab3a7a1e4b28b
https://github.com/apps/copilot-swe-agent
https://github.com/swissspidy
Improve test to use WP_CLI_PHP_USED environment variablehttps://github.com/wp-cli/wp-cli-bundle/pull/852/commits/6138b058b3db16632af28f223d5360d2c073cdc0
6138b05https://github.com/wp-cli/wp-cli-bundle/pull/852/commits/6138b058b3db16632af28f223d5360d2c073cdc0
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Jan 22, 2026https://github.com/wp-cli/wp-cli-bundle/pull/852#event-22214451631
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
swissspidyhttps://github.com/swissspidy
January 22, 2026 12:10https://github.com/wp-cli/wp-cli-bundle/pull/852#event-22214455252
finished workhttps://github.com/wp-cli/wp-cli-bundle/sessions/d5a30739-98ec-4ac6-ab91-00dafaa6f4ba
swissspidyhttps://github.com/swissspidy
January 22, 2026 12:10https://github.com/wp-cli/wp-cli-bundle/pull/852#event-22214455272
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Jan 22, 2026https://github.com/wp-cli/wp-cli-bundle/pull/852#issuecomment-3784266790
Codecovhttps://app.codecov.io/gh/wp-cli/wp-cli-bundle/pull/852?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
Let us know!https://github.com/codecov/feedback/issues/255
Please reload this pagehttps://github.com/wp-cli/wp-cli-bundle/pull/852
swissspidyhttps://github.com/swissspidy
January 22, 2026 14:20https://github.com/wp-cli/wp-cli-bundle/pull/852#commits-pushed-aa3225e
https://github.com/swissspidy
Remove filehttps://github.com/wp-cli/wp-cli-bundle/pull/852/commits/aa3225e9506c8b8cc98ae6aa74a2afc46b0ae0ec
aa3225ehttps://github.com/wp-cli/wp-cli-bundle/pull/852/commits/aa3225e9506c8b8cc98ae6aa74a2afc46b0ae0ec
https://github.com/swissspidy
Trialhttps://github.com/wp-cli/wp-cli-bundle/pull/852/commits/3f8d7849c21c8014da978b5a8efb8485228f819e
3f8d784https://github.com/wp-cli/wp-cli-bundle/pull/852/commits/3f8d7849c21c8014da978b5a8efb8485228f819e
https://github.com/swissspidy
updatehttps://github.com/wp-cli/wp-cli-bundle/pull/852/commits/3f6b8e9367c2bb71ec70dd636c190e92183fa8d5
3f6b8e9https://github.com/wp-cli/wp-cli-bundle/pull/852/commits/3f6b8e9367c2bb71ec70dd636c190e92183fa8d5
https://github.com/swissspidy
updatehttps://github.com/wp-cli/wp-cli-bundle/pull/852/commits/46626bfe5bc70099a03961332930460d1a24a1e5
46626bfhttps://github.com/wp-cli/wp-cli-bundle/pull/852/commits/46626bfe5bc70099a03961332930460d1a24a1e5
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
Jan 22, 2026https://github.com/wp-cli/wp-cli-bundle/pull/852#event-22225097642
https://github.co/hiddenchars
https://github.com/wp-cli/wp-cli-bundle/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli-bundle%2Fpull%2F852
https://github.com/swissspidy
swissspidy https://github.com/swissspidy
Please reload this pagehttps://github.com/wp-cli/wp-cli-bundle/pull/852
https://github.com/swissspidy
swissspidy https://github.com/swissspidy
Copilot code review https://github.com/apps/copilot-swe-agent
Copilot https://github.com/apps/copilot-swe-agent
scope:framework https://github.com/wp-cli/wp-cli-bundle/issues?q=state%3Aopen%20label%3Ascope%3Aframework
Update command doesn't escape php_binary path, update fails when path has spaces https://github.com/wp-cli/wp-cli/issues/5815
Please reload this pagehttps://github.com/wp-cli/wp-cli-bundle/pull/852
https://github.com/apps/copilot-swe-agent
https://github.com/swissspidy
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.