René's URL Explorer Experiment


Title: Harden router.php against path traversal and non-PHP execution by swissspidy · Pull Request #102 · wp-cli/server-command · GitHub

Open Graph Title: Harden router.php against path traversal and non-PHP execution by swissspidy · Pull Request #102 · wp-cli/server-command

X Title: Harden router.php against path traversal and non-PHP execution by swissspidy · Pull Request #102 · wp-cli/server-command

Description: Launches PHP's built-in web server for a specific WordPress installation. - Harden router.php against path traversal and non-PHP execution by swissspidy · Pull Request #102 · wp-cli/server-command

Open Graph Description: Summary by CodeRabbit Bug Fixes Improved protection against encoded path traversal by ensuring requests remain within the document root. Prevented PHP code in files with non-PHP extensions from b...

X Description: Summary by CodeRabbit Bug Fixes Improved protection against encoded path traversal by ensuring requests remain within the document root. Prevented PHP code in files with non-PHP extensions from b...

Opengraph URL: https://github.com/wp-cli/server-command/pull/102

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:dbb2b480-a879-bf3f-270f-03cd3fa18063
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8C90:107EE2:C14824:10BC694:6AFA2483
html-safe-noncec0008bbe23875f1ee69688a4a71b23da3236d681c68633be1959cf816d17f5b0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzkwOjEwN0VFMjpDMTQ4MjQ6MTBCQzY5NDo2QUZBMjQ4MyIsInZpc2l0b3JfaWQiOiI3MTAyMDA2ODgxMzQ1NDc5ODExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9a9831b9c9845eea9cb0a515c3a4e5d877056fe805caef8b0016c19681d00153
hovercard-subject-tagpull_request:4192578540
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/server-command/102/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/70d644adb97b5c03b6d7e3023916d2de528f3ac1704595d59f3b774083822c32/wp-cli/server-command/pull/102
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/70d644adb97b5c03b6d7e3023916d2de528f3ac1704595d59f3b774083822c32/wp-cli/server-command/pull/102
og:image:altSummary by CodeRabbit Bug Fixes Improved protection against encoded path traversal by ensuring requests remain within the document root. Prevented PHP code in files with non-PHP extensions from b...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameswissspidy
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-cache
go-importgithub.com/wp-cli/server-command git https://github.com/wp-cli/server-command.git
octolytics-dimension-user_id1570774
octolytics-dimension-user_loginwp-cli
octolytics-dimension-repository_id11974328
octolytics-dimension-repository_nwowp-cli/server-command
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id11974328
octolytics-dimension-repository_network_root_nwowp-cli/server-command
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/server-command/pull/102#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fserver-command%2Fpull%2F102
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%2Fserver-command%2Fpull%2F102
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%2Fserver-command
Reloadhttps://github.com/wp-cli/server-command/pull/102
Reloadhttps://github.com/wp-cli/server-command/pull/102
Reloadhttps://github.com/wp-cli/server-command/pull/102
wp-clihttps://github.com/wp-cli
server-commandhttps://github.com/wp-cli/server-command
Codehttps://github.com/wp-cli/server-command
Issueshttps://github.com/wp-cli/server-command/issues
Pull requestshttps://github.com/wp-cli/server-command/pulls
Actionshttps://github.com/wp-cli/server-command/actions
Security and qualityhttps://github.com/wp-cli/server-command/security
Insightshttps://github.com/wp-cli/server-command/pulse
https://github.com/wp-cli/server-command
swissspidyhttps://github.com/swissspidy
mainhttps://github.com/wp-cli/server-command/tree/main
fix/routerhttps://github.com/wp-cli/server-command/tree/fix/router
Conversationhttps://github.com/wp-cli/server-command/pull/102
Commits6 (6)https://github.com/wp-cli/server-command/pull/102/commits
Checkshttps://github.com/wp-cli/server-command/pull/102/checks
Files changedhttps://github.com/wp-cli/server-command/pull/102/files
Harden router.php against path traversal and non-PHP executionhttps://github.com/wp-cli/server-command/pull/102#top
swissspidyhttps://github.com/swissspidy
mainhttps://github.com/wp-cli/server-command/tree/main
fix/routerhttps://github.com/wp-cli/server-command/tree/fix/router
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
Aug 3, 2026https://github.com/wp-cli/server-command/pull/102#issue-5047783661
Please reload this pagehttps://github.com/wp-cli/server-command/pull/102
Please reload this pagehttps://github.com/wp-cli/server-command/pull/102
swissspidyhttps://github.com/swissspidy
August 3, 2026 10:22https://github.com/wp-cli/server-command/pull/102#commits-pushed-dd3b62b
https://github.com/swissspidy
Harden router.php against path traversal and non-PHP executionhttps://github.com/wp-cli/server-command/pull/102/commits/dd3b62b4b89e2e92a23ed02bcc243582a218bbee
dd3b62bhttps://github.com/wp-cli/server-command/pull/102/commits/dd3b62b4b89e2e92a23ed02bcc243582a218bbee
https://github.com/swissspidy
Add test case for ..%2f path traversalhttps://github.com/wp-cli/server-command/pull/102/commits/f7f2700c0692eec93eff129fe2864334b1836087
f7f2700https://github.com/wp-cli/server-command/pull/102/commits/f7f2700c0692eec93eff129fe2864334b1836087
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
2.0.20https://github.com/wp-cli/server-command/milestone/30
Aug 3, 2026https://github.com/wp-cli/server-command/pull/102#event-28875861253
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
code ownerhttps://github.com/wp-cli/server-command/blob/c80dbd7f050beabad6adbda5988936f551342e1e/.github/CODEOWNERS#L1
August 3, 2026 08:23https://github.com/wp-cli/server-command/pull/102#event-28875861847
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
August 3, 2026 08:23https://github.com/wp-cli/server-command/pull/102#event-28875861878
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
command:server https://github.com/wp-cli/server-command/issues?q=state%3Aopen%20label%3Acommand%3Aserver
Aug 3, 2026https://github.com/wp-cli/server-command/pull/102#event-28875862282
started reviewinghttps://github.com/wp-cli/server-command/sessions/611535c7-d697-45c8-a93e-365647cc136e
swissspidyhttps://github.com/swissspidy
August 3, 2026 08:23https://github.com/wp-cli/server-command/pull/102#event-28875888261
View session https://github.com/wp-cli/server-command/sessions/611535c7-d697-45c8-a93e-365647cc136e
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 3, 2026https://github.com/wp-cli/server-command/pull/102#issuecomment-5164015147
Please reload this pagehttps://github.com/wp-cli/server-command/pull/102
https://app.coderabbit.ai/change-stack/wp-cli/server-command/pull/102?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
f7f2700https://github.com/wp-cli/server-command/commit/f7f2700c0692eec93eff129fe2864334b1836087
29bfe21https://github.com/wp-cli/server-command/commit/29bfe211f743f8f7a2ea8a8cd6353f6e596632fe
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=wp-cli/server-command&utm_content=102
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/server-command/pull/102
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Aug 3, 2026 https://github.com/wp-cli/server-command/pull/102#pullrequestreview-4842132888
View reviewed changes https://github.com/wp-cli/server-command/pull/102/files/f7f2700c0692eec93eff129fe2864334b1836087
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/wp-cli/server-command/pull/102#pullrequestreview-4842132888
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://github.com/wp-cli/server-command/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/server-command/pull/102
router.phphttps://github.com/wp-cli/server-command/pull/102/files/f7f2700c0692eec93eff129fe2864334b1836087#diff-ceb05d8a3d5c6b96c116237001b7150910447e60184c3ddd50024f66fd15959b
Please reload this pagehttps://github.com/wp-cli/server-command/pull/102
features/server.featurehttps://github.com/wp-cli/server-command/pull/102/files/f7f2700c0692eec93eff129fe2864334b1836087#diff-9efc1585ce84708f61fbee256d3024e2e7d48abbe9482a0453f9e23fb16ea419
Please reload this pagehttps://github.com/wp-cli/server-command/pull/102
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 3, 2026 https://github.com/wp-cli/server-command/pull/102#pullrequestreview-4842139005
View reviewed changes https://github.com/wp-cli/server-command/pull/102/files/f7f2700c0692eec93eff129fe2864334b1836087
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/wp-cli/server-command/pull/102#pullrequestreview-4842139005
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
c80dbd7https://github.com/wp-cli/server-command/commit/c80dbd7f050beabad6adbda5988936f551342e1e
f7f2700https://github.com/wp-cli/server-command/commit/f7f2700c0692eec93eff129fe2864334b1836087
Please reload this pagehttps://github.com/wp-cli/server-command/pull/102
features/server.featurehttps://github.com/wp-cli/server-command/pull/102/files/f7f2700c0692eec93eff129fe2864334b1836087#diff-9efc1585ce84708f61fbee256d3024e2e7d48abbe9482a0453f9e23fb16ea419
Please reload this pagehttps://github.com/wp-cli/server-command/pull/102
swissspidyhttps://github.com/swissspidy
August 3, 2026 10:30https://github.com/wp-cli/server-command/pull/102#commits-pushed-01340b5
https://github.com/swissspidy
https://github.com/apps/copilot-pull-request-reviewer
Potential fix for pull request findinghttps://github.com/wp-cli/server-command/pull/102/commits/01340b5070c2825d8d0fdda94dfe71c2935d9a94
01340b5https://github.com/wp-cli/server-command/pull/102/commits/01340b5070c2825d8d0fdda94dfe71c2935d9a94
https://github.com/swissspidy
https://github.com/apps/copilot-pull-request-reviewer
Potential fix for pull request findinghttps://github.com/wp-cli/server-command/pull/102/commits/18a90b5a958e1342cc8588107fed4bf91cca831e
18a90b5https://github.com/wp-cli/server-command/pull/102/commits/18a90b5a958e1342cc8588107fed4bf91cca831e
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
Aug 3, 2026 https://github.com/wp-cli/server-command/pull/102#pullrequestreview-4842217962
View reviewed changes https://github.com/wp-cli/server-command/pull/102/files/18a90b5a958e1342cc8588107fed4bf91cca831e
router.phphttps://github.com/wp-cli/server-command/pull/102/files/18a90b5a958e1342cc8588107fed4bf91cca831e#diff-ceb05d8a3d5c6b96c116237001b7150910447e60184c3ddd50024f66fd15959b
Please reload this pagehttps://github.com/wp-cli/server-command/pull/102
swissspidyhttps://github.com/swissspidy
August 3, 2026 10:37https://github.com/wp-cli/server-command/pull/102#commits-pushed-f260fd9
https://github.com/swissspidy
Apply suggestion fromhttps://github.com/wp-cli/server-command/pull/102/commits/f260fd90f294d36ff794044f8bbe37c4185da087
@swissspidyhttps://github.com/swissspidy
f260fd9https://github.com/wp-cli/server-command/pull/102/commits/f260fd90f294d36ff794044f8bbe37c4185da087
https://github.com/swissspidy
Update testhttps://github.com/wp-cli/server-command/pull/102/commits/29bfe211f743f8f7a2ea8a8cd6353f6e596632fe
29bfe21https://github.com/wp-cli/server-command/pull/102/commits/29bfe211f743f8f7a2ea8a8cd6353f6e596632fe
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Aug 3, 2026https://github.com/wp-cli/server-command/pull/102#issuecomment-5165258466
Codecovhttps://app.codecov.io/gh/wp-cli/server-command/pull/102?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/server-command/pull/102
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
5529e9ehttps://github.com/wp-cli/server-command/commit/5529e9e0c05b951e90ffb7d07cd7de882d41c6a8
Aug 3, 2026https://github.com/wp-cli/server-command/pull/102#event-28882599938
Please reload this pagehttps://github.com/wp-cli/server-command/pull/102
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
August 3, 2026 10:49https://github.com/wp-cli/server-command/pull/102#event-28882601486
https://github.co/hiddenchars
https://github.com/wp-cli/server-command/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%2Fserver-command%2Fpull%2F102
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/wp-cli/server-command/pull/102/files/f7f2700c0692eec93eff129fe2864334b1836087
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/server-command/pull/102/files/f7f2700c0692eec93eff129fe2864334b1836087
Please reload this pagehttps://github.com/wp-cli/server-command/pull/102
command:server https://github.com/wp-cli/server-command/issues?q=state%3Aopen%20label%3Acommand%3Aserver
3.0.0 https://github.com/wp-cli/server-command/milestone/30
Please reload this pagehttps://github.com/wp-cli/server-command/pull/102
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.