René's URL Explorer Experiment


Title: Escape temp dir in update success check by swissspidy · Pull Request #6369 · wp-cli/wp-cli · GitHub

Open Graph Title: Escape temp dir in update success check by swissspidy · Pull Request #6369 · wp-cli/wp-cli

X Title: Escape temp dir in update success check by swissspidy · Pull Request #6369 · wp-cli/wp-cli

Description: ⚙️ WP-CLI framework. Contribute to wp-cli/wp-cli development by creating an account on GitHub.

Open Graph Description: Applying some slight hardening Summary by CodeRabbit Bug Fixes Improved self-update validation by safely handling temporary file paths and PHP executable paths during command execution.

X Description: Applying some slight hardening Summary by CodeRabbit Bug Fixes Improved self-update validation by safely handling temporary file paths and PHP executable paths during command execution.

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:061a673c-e403-a02c-ad57-8307aecd1071
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB246:3B3600:1F1EC0F:2A1B651:6AFBA185
html-safe-noncefa427470852744c6354cb03e78a08011b60a5db5ebc44c6524603deaf55d3569
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjQ2OjNCMzYwMDoxRjFFQzBGOjJBMUI2NTE6NkFGQkExODUiLCJ2aXNpdG9yX2lkIjoiNjAyNTM2NTQ4MTk3NDM3NDc4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2bf3ab59d8cfd28b9b79bee3dccaf48847895631a8aa0db6fa4a1f04f6afed5c
hovercard-subject-tagpull_request:4192637377
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/6369/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b7c782ffc897a527189409f8b2e35a424a343cf17a4f4ca9376778dd57dac681/wp-cli/wp-cli/pull/6369
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b7c782ffc897a527189409f8b2e35a424a343cf17a4f4ca9376778dd57dac681/wp-cli/wp-cli/pull/6369
og:image:altApplying some slight hardening Summary by CodeRabbit Bug Fixes Improved self-update validation by safely handling temporary file paths and PHP executable paths during command execution.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameswissspidy
hostnamegithub.com
expected-hostnamegithub.com
None3cefd19a936819d82cfb5279d50fb56fe79cb9ec30f0f807e04e89b0c58ffae1
turbo-cache-controlno-cache
go-importgithub.com/wp-cli/wp-cli git https://github.com/wp-cli/wp-cli.git
octolytics-dimension-user_id1570774
octolytics-dimension-user_loginwp-cli
octolytics-dimension-repository_id2360755
octolytics-dimension-repository_nwowp-cli/wp-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id2360755
octolytics-dimension-repository_network_root_nwowp-cli/wp-cli
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
release606800bdb1b81d125fc845bdcc262c9fe063fc8f
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/wp-cli/wp-cli/pull/6369#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli%2Fpull%2F6369
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%2Fpull%2F6369
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
Reloadhttps://github.com/wp-cli/wp-cli/pull/6369
Reloadhttps://github.com/wp-cli/wp-cli/pull/6369
Reloadhttps://github.com/wp-cli/wp-cli/pull/6369
wp-clihttps://github.com/wp-cli
wp-clihttps://github.com/wp-cli/wp-cli
Codehttps://github.com/wp-cli/wp-cli
Issues19 (19)https://github.com/wp-cli/wp-cli/issues
Pull requests12 (12)https://github.com/wp-cli/wp-cli/pulls
Discussionshttps://github.com/wp-cli/wp-cli/discussions
Actionshttps://github.com/wp-cli/wp-cli/actions
Wikihttps://github.com/wp-cli/wp-cli/wiki
Security and quality1 (1)https://github.com/wp-cli/wp-cli/security
Insightshttps://github.com/wp-cli/wp-cli/pulse
https://github.com/wp-cli/wp-cli
swissspidyhttps://github.com/swissspidy
mainhttps://github.com/wp-cli/wp-cli/tree/main
fix/escape-temphttps://github.com/wp-cli/wp-cli/tree/fix/escape-temp
Conversationhttps://github.com/wp-cli/wp-cli/pull/6369
Commits1 (1)https://github.com/wp-cli/wp-cli/pull/6369/commits
Checkshttps://github.com/wp-cli/wp-cli/pull/6369/checks
Files changedhttps://github.com/wp-cli/wp-cli/pull/6369/files
Escape temp dir in update success checkhttps://github.com/wp-cli/wp-cli/pull/6369#top
swissspidyhttps://github.com/swissspidy
mainhttps://github.com/wp-cli/wp-cli/tree/main
fix/escape-temphttps://github.com/wp-cli/wp-cli/tree/fix/escape-temp
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
Aug 3, 2026https://github.com/wp-cli/wp-cli/pull/6369#issue-5047852408
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6369
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6369
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
3.0.0https://github.com/wp-cli/wp-cli/milestone/70
Aug 3, 2026https://github.com/wp-cli/wp-cli/pull/6369#event-28876225280
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
code ownerhttps://github.com/wp-cli/wp-cli/blob/cbbe1880a7f6ea2d56feeceb46b7cf85a89f36e8/.github/CODEOWNERS#L1
August 3, 2026 08:31https://github.com/wp-cli/wp-cli/pull/6369#event-28876225789
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
command:cli-update https://github.com/wp-cli/wp-cli/issues?q=state%3Aopen%20label%3Acommand%3Acli-update
Aug 3, 2026https://github.com/wp-cli/wp-cli/pull/6369#event-28876225808
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
August 3, 2026 08:31https://github.com/wp-cli/wp-cli/pull/6369#event-28876225873
started reviewinghttps://github.com/wp-cli/wp-cli/sessions/55eac62d-27d2-4907-9800-c40e0b689825
swissspidyhttps://github.com/swissspidy
August 3, 2026 08:32https://github.com/wp-cli/wp-cli/pull/6369#event-28876251598
View session https://github.com/wp-cli/wp-cli/sessions/55eac62d-27d2-4907-9800-c40e0b689825
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 3, 2026https://github.com/wp-cli/wp-cli/pull/6369#issuecomment-5164082160
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6369
https://app.coderabbit.ai/change-stack/wp-cli/wp-cli/pull/6369?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
3c02bc3https://github.com/wp-cli/wp-cli/commit/3c02bc3468637710211cef2048e3642e926b0b5f
0903bcfhttps://github.com/wp-cli/wp-cli/commit/0903bcfc2fe9dae259a795cc28691ff6f8a87df2
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=wp-cli/wp-cli&utm_content=6369
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6369
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Aug 3, 2026 https://github.com/wp-cli/wp-cli/pull/6369#pullrequestreview-4842191420
View reviewed changes https://github.com/wp-cli/wp-cli/pull/6369/files
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/wp-cli/wp-cli/pull/6369#pullrequestreview-4842191420
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://github.com/wp-cli/wp-cli/new/main?filename=.github/instructions/*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6369
php/commands/src/CLI_Command.phphttps://github.com/wp-cli/wp-cli/pull/6369/files#diff-18528f4b84d33052a713ae946299186f866df341008209e31bdd56be17e4c557
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6369
https://github.com/swissspidy
Escape temp dir in update success checkhttps://github.com/wp-cli/wp-cli/pull/6369/commits/0903bcfc2fe9dae259a795cc28691ff6f8a87df2
0903bcfhttps://github.com/wp-cli/wp-cli/pull/6369/commits/0903bcfc2fe9dae259a795cc28691ff6f8a87df2
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
force-pushedhttps://github.com/wp-cli/wp-cli/compare/3c02bc3468637710211cef2048e3642e926b0b5f..0903bcfc2fe9dae259a795cc28691ff6f8a87df2
3c02bc3https://github.com/wp-cli/wp-cli/commit/3c02bc3468637710211cef2048e3642e926b0b5f
0903bcfhttps://github.com/wp-cli/wp-cli/commit/0903bcfc2fe9dae259a795cc28691ff6f8a87df2
Compare https://github.com/wp-cli/wp-cli/compare/3c02bc3468637710211cef2048e3642e926b0b5f..0903bcfc2fe9dae259a795cc28691ff6f8a87df2
August 3, 2026 08:36https://github.com/wp-cli/wp-cli/pull/6369#event-28876424907
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
0bfcac7https://github.com/wp-cli/wp-cli/commit/0bfcac71b9d5c67110c0243adab05cf74588c947
Aug 3, 2026https://github.com/wp-cli/wp-cli/pull/6369#event-28878099652
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6369
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
August 3, 2026 09:13https://github.com/wp-cli/wp-cli/pull/6369#event-28878101394
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Aug 3, 2026https://github.com/wp-cli/wp-cli/pull/6369#issuecomment-5164593864
Codecovhttps://app.codecov.io/gh/wp-cli/wp-cli/pull/6369?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
Files with missing lineshttps://app.codecov.io/gh/wp-cli/wp-cli/pull/6369?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
php/commands/src/CLI_Command.phphttps://app.codecov.io/gh/wp-cli/wp-cli/pull/6369?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli#diff-cGhwL2NvbW1hbmRzL3NyYy9DTElfQ29tbWFuZC5waHA=
5 Missing ⚠️ https://app.codecov.io/gh/wp-cli/wp-cli/pull/6369?src=pr&el=tree&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/pull/6369
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 3, 2026 https://github.com/wp-cli/wp-cli/pull/6369#ref-pullrequest-5050937997
Utils: Add make_temp_file() and make_temp_dir() helper functions #6374 https://github.com/wp-cli/wp-cli/pull/6374
https://github.co/hiddenchars
https://github.com/wp-cli/wp-cli/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%2Fpull%2F6369
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/wp-cli/wp-cli/pull/6369/files/3c02bc3468637710211cef2048e3642e926b0b5f
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6369
command:cli-update https://github.com/wp-cli/wp-cli/issues?q=state%3Aopen%20label%3Acommand%3Acli-update
3.0.0 https://github.com/wp-cli/wp-cli/milestone/70
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6369
https://github.com/swissspidy
https://github.com/apps/copilot-pull-request-reviewer
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.