René's URL Explorer Experiment


Title: Add HostHeaderMiddleware with trusted host patterns by josbeir · Pull Request #19744 · cakephp/cakephp · GitHub

Open Graph Title: Add HostHeaderMiddleware with trusted host patterns by josbeir · Pull Request #19744 · cakephp/cakephp

X Title: Add HostHeaderMiddleware with trusted host patterns by josbeir · Pull Request #19744 · cakephp/cakephp

Description: CakePHP: The Rapid Development Framework for PHP - Official Repository - Add HostHeaderMiddleware with trusted host patterns by josbeir · Pull Request #19744 · cakephp/cakephp

Open Graph Description: Host validation currently lives in the app skeleton and supports a single application hostname. Add reusable core middleware with regex support for applications serving multiple domains or preview ...

X Description: Host validation currently lives in the app skeleton and supports a single application hostname. Add reusable core middleware with regex support for applications serving multiple domains or preview ...

Opengraph URL: https://github.com/cakephp/cakephp/pull/19744

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:6c3659c7-707f-2c1b-2a6c-b97547c9ba49
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD6E8:267B64:A9E90B:EB7E2E:6AFD3D51
html-safe-nonce3c16c7cd5e09d88b46234512adad1f728ad7775337b47285e56cbc061f18b94f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkU4OjI2N0I2NDpBOUU5MEI6RUI3RTJFOjZBRkQzRDUxIiwidmlzaXRvcl9pZCI6IjQ5MDkzNTA0MjA4ODg3NjM3MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3a97253086733778cc84ed2ed339487b88c45e2c58cc80313b7642eb41d384bf
hovercard-subject-tagpull_request:5015209782
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/cakephp/cakephp/19744/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c6e004d1b676ac6cb89ac792ddd423da1e45792dc47222389fe5274ffe51231f/cakephp/cakephp/pull/19744
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c6e004d1b676ac6cb89ac792ddd423da1e45792dc47222389fe5274ffe51231f/cakephp/cakephp/pull/19744
og:image:altHost validation currently lives in the app skeleton and supports a single application hostname. Add reusable core middleware with regex support for applications serving multiple domains or preview ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejosbeir
hostnamegithub.com
expected-hostnamegithub.com
Nonebdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474
turbo-cache-controlno-cache
go-importgithub.com/cakephp/cakephp git https://github.com/cakephp/cakephp.git
octolytics-dimension-user_id23666
octolytics-dimension-user_logincakephp
octolytics-dimension-repository_id656494
octolytics-dimension-repository_nwocakephp/cakephp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id656494
octolytics-dimension-repository_network_root_nwocakephp/cakephp
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
release556dd37bb0aceffb25724e151b5d858b3265b40b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/cakephp/cakephp/pull/19744#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcakephp%2Fcakephp%2Fpull%2F19744
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%2Fcakephp%2Fcakephp%2Fpull%2F19744
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=cakephp%2Fcakephp
Reloadhttps://github.com/cakephp/cakephp/pull/19744
Reloadhttps://github.com/cakephp/cakephp/pull/19744
Reloadhttps://github.com/cakephp/cakephp/pull/19744
cakephphttps://github.com/cakephp
cakephphttps://github.com/cakephp/cakephp
Codehttps://github.com/cakephp/cakephp
Issues13 (13)https://github.com/cakephp/cakephp/issues
Pull requests16 (16)https://github.com/cakephp/cakephp/pulls
Actionshttps://github.com/cakephp/cakephp/actions
Projectshttps://github.com/cakephp/cakephp/projects
Wikihttps://github.com/cakephp/cakephp/wiki
Security and quality6 (6)https://github.com/cakephp/cakephp/security
Insightshttps://github.com/cakephp/cakephp/insights
https://github.com/cakephp/cakephp
josbeirhttps://github.com/josbeir
5.nexthttps://github.com/cakephp/cakephp/tree/5.next
feature/host-header-middlewarehttps://github.com/cakephp/cakephp/tree/feature/host-header-middleware
Conversationhttps://github.com/cakephp/cakephp/pull/19744
Commits4 (4)https://github.com/cakephp/cakephp/pull/19744/commits
Checkshttps://github.com/cakephp/cakephp/pull/19744/checks
Files changedhttps://github.com/cakephp/cakephp/pull/19744/files
Add HostHeaderMiddleware with trusted host patternshttps://github.com/cakephp/cakephp/pull/19744#top
josbeirhttps://github.com/josbeir
5.nexthttps://github.com/cakephp/cakephp/tree/5.next
feature/host-header-middlewarehttps://github.com/cakephp/cakephp/tree/feature/host-header-middleware
https://github.com/josbeir
josbeirhttps://github.com/josbeir
Oct 26, 2026https://github.com/cakephp/cakephp/pull/19744#issue-6037078672
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19744
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19744
https://github.com/josbeir
josbeirhttps://github.com/josbeir
enhancement https://github.com/cakephp/cakephp/issues?q=state%3Aopen%20label%3Aenhancement
Oct 26, 2026https://github.com/cakephp/cakephp/pull/19744#event-34244022567
https://github.com/josbeir
josbeirhttps://github.com/josbeir
6.0https://github.com/cakephp/cakephp/milestone/305
Oct 26, 2026https://github.com/cakephp/cakephp/pull/19744#event-34244026497
https://github.com/josbeir
josbeirhttps://github.com/josbeir
Oct 26, 2026 https://github.com/cakephp/cakephp/pull/19744#ref-pullrequest-5740862863
Prepare the application skeleton for CakePHP 6 cakephp/app#1109 https://github.com/cakephp/app/pull/1109
https://github.com/dereuromark
dereuromarkhttps://github.com/dereuromark
Oct 26, 2026https://github.com/cakephp/cakephp/pull/19744#issuecomment-6413546609
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19744
https://github.com/josbeir
josbeirhttps://github.com/josbeir
Oct 26, 2026https://github.com/cakephp/cakephp/pull/19744#issuecomment-6413778059
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19744
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19744
https://github.com/josbeir
josbeirhttps://github.com/josbeir
force-pushedhttps://github.com/cakephp/cakephp/compare/885dc3a02f4e4c8f8cc25d68e1493b64c1318866..8269e92d03f9372b3d012fe0e38946f5cd384429
885dc3ahttps://github.com/cakephp/cakephp/commit/885dc3a02f4e4c8f8cc25d68e1493b64c1318866
8269e92https://github.com/cakephp/cakephp/commit/8269e92d03f9372b3d012fe0e38946f5cd384429
Compare https://github.com/cakephp/cakephp/compare/885dc3a02f4e4c8f8cc25d68e1493b64c1318866..8269e92d03f9372b3d012fe0e38946f5cd384429
October 26, 2026 10:32https://github.com/cakephp/cakephp/pull/19744#event-34248466896
https://github.com/josbeir
josbeirhttps://github.com/josbeir
October 26, 2026 10:32https://github.com/cakephp/cakephp/pull/19744#event-34248472883
https://github.com/josbeir
josbeirhttps://github.com/josbeir
6.0https://github.com/cakephp/cakephp/milestone/305
5.5.0https://github.com/cakephp/cakephp/milestone/357
Oct 26, 2026https://github.com/cakephp/cakephp/pull/19744#event-34252595491
https://github.com/markstory
markstoryhttps://github.com/markstory
Oct 28, 2026 https://github.com/cakephp/cakephp/pull/19744#pullrequestreview-5677553003
View reviewed changes https://github.com/cakephp/cakephp/pull/19744/files
src/Http/Middleware/HostHeaderMiddleware.phphttps://github.com/cakephp/cakephp/pull/19744/files#diff-1600592abc84830da7c3a9547e1db9f008b7657de57fc7f8ad2fba9910652cc5
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19744
src/Http/Middleware/HostHeaderMiddleware.phphttps://github.com/cakephp/cakephp/pull/19744/files#diff-1600592abc84830da7c3a9547e1db9f008b7657de57fc7f8ad2fba9910652cc5
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19744
src/Http/Middleware/HostHeaderMiddleware.phphttps://github.com/cakephp/cakephp/pull/19744/files#diff-1600592abc84830da7c3a9547e1db9f008b7657de57fc7f8ad2fba9910652cc5
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19744
https://github.com/markstory
markstoryhttps://github.com/markstory
Oct 29, 2026 https://github.com/cakephp/cakephp/pull/19744#pullrequestreview-5692608944
View reviewed changes https://github.com/cakephp/cakephp/pull/19744/files
src/Http/Middleware/HostHeaderMiddleware.phphttps://github.com/cakephp/cakephp/pull/19744/files#diff-1600592abc84830da7c3a9547e1db9f008b7657de57fc7f8ad2fba9910652cc5
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19744
https://github.com/markstory
markstoryhttps://github.com/markstory
Nov 2, 2026 https://github.com/cakephp/cakephp/pull/19744#pullrequestreview-5732428844
View reviewed changes https://github.com/cakephp/cakephp/pull/19744/files/47cd9d43e0ccf96f453e360ba56caa1c08b067d4
josbeirhttps://github.com/josbeir
November 8, 2026 15:53https://github.com/cakephp/cakephp/pull/19744#commits-pushed-7821c37
https://github.com/josbeir
Add HostHeaderMiddleware with trusted host patternshttps://github.com/cakephp/cakephp/pull/19744/commits/7821c37dc1bc0c0fe7a2893cd0c86df0e5b5da8b
7821c37https://github.com/cakephp/cakephp/pull/19744/commits/7821c37dc1bc0c0fe7a2893cd0c86df0e5b5da8b
https://github.com/josbeir
Trigger CI after retargeting to 5.nexthttps://github.com/cakephp/cakephp/pull/19744/commits/a1c410d3ca2061600d15a5bb4e9146e106798dad
a1c410dhttps://github.com/cakephp/cakephp/pull/19744/commits/a1c410d3ca2061600d15a5bb4e9146e106798dad
https://github.com/josbeir
Simplify trusted host regex error handlinghttps://github.com/cakephp/cakephp/pull/19744/commits/4bcb4cf5c1bf8ae40abda031b139b8abc15f0211
4bcb4cfhttps://github.com/cakephp/cakephp/pull/19744/commits/4bcb4cf5c1bf8ae40abda031b139b8abc15f0211
https://github.com/josbeir
Allow explicit wildcard hosts without debug bypasshttps://github.com/cakephp/cakephp/pull/19744/commits/47cd9d43e0ccf96f453e360ba56caa1c08b067d4
47cd9d4https://github.com/cakephp/cakephp/pull/19744/commits/47cd9d43e0ccf96f453e360ba56caa1c08b067d4
https://github.com/josbeir
josbeirhttps://github.com/josbeir
force-pushedhttps://github.com/cakephp/cakephp/compare/8f4c1abff4acac3db3e4052b23782ae2ae38ec48..47cd9d43e0ccf96f453e360ba56caa1c08b067d4
8f4c1abhttps://github.com/cakephp/cakephp/commit/8f4c1abff4acac3db3e4052b23782ae2ae38ec48
47cd9d4https://github.com/cakephp/cakephp/commit/47cd9d43e0ccf96f453e360ba56caa1c08b067d4
Compare https://github.com/cakephp/cakephp/compare/8f4c1abff4acac3db3e4052b23782ae2ae38ec48..47cd9d43e0ccf96f453e360ba56caa1c08b067d4
November 8, 2026 14:54https://github.com/cakephp/cakephp/pull/19744#event-35497503326
https://github.com/josbeir
josbeirhttps://github.com/josbeir
ADmadhttps://github.com/ADmad
LordSimalhttps://github.com/LordSimal
dereuromarkhttps://github.com/dereuromark
November 8, 2026 15:06https://github.com/cakephp/cakephp/pull/19744#event-35498026709
https://github.com/LordSimal
LordSimalhttps://github.com/LordSimal
Nov 9, 2026 https://github.com/cakephp/cakephp/pull/19744#pullrequestreview-5827322069
View reviewed changes https://github.com/cakephp/cakephp/pull/19744/files/47cd9d43e0ccf96f453e360ba56caa1c08b067d4
https://github.com/LordSimal
LordSimalhttps://github.com/LordSimal
Nov 9, 2026https://github.com/cakephp/cakephp/pull/19744#issuecomment-6742609108
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19744
https://github.co/hiddenchars
https://github.com/cakephp/cakephp/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%2Fcakephp%2Fcakephp%2Fpull%2F19744
https://github.com/markstory
markstory https://github.com/markstory
https://github.com/cakephp/cakephp/pull/19744/files/47cd9d43e0ccf96f453e360ba56caa1c08b067d4
https://github.com/LordSimal
LordSimal https://github.com/LordSimal
https://github.com/cakephp/cakephp/pull/19744/files/47cd9d43e0ccf96f453e360ba56caa1c08b067d4
https://github.com/dereuromark
dereuromark https://github.com/dereuromark
https://github.com/ADmad
ADmad https://github.com/ADmad
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19744
enhancement https://github.com/cakephp/cakephp/issues?q=state%3Aopen%20label%3Aenhancement
5.5.0 https://github.com/cakephp/cakephp/milestone/357
Please reload this pagehttps://github.com/cakephp/cakephp/pull/19744
https://github.com/josbeir
https://github.com/dereuromark
https://github.com/LordSimal
https://github.com/markstory
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.