René's URL Explorer Experiment


Title: Fix memory-safety crash on invalid UTF-8 variable names by GrahamCampbell · Pull Request #602 · phpdotenv/phpdotenv · GitHub

Open Graph Title: Fix memory-safety crash on invalid UTF-8 variable names by GrahamCampbell · Pull Request #602 · phpdotenv/phpdotenv

X Title: Fix memory-safety crash on invalid UTF-8 variable names by GrahamCampbell · Pull Request #602 · phpdotenv/phpdotenv

Description: Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically. - Fix memory-safety crash on invalid UTF-8 variable names by GrahamCampbell · Pull Request #602 · phpdotenv/phpdotenv

Open Graph Description: Variable-name validation enabled PCRE UTF-8 mode with the in-pattern (*UTF8) verb rather than the u modifier, so PHP never checked that the subject was valid UTF-8 before matching. On a malformed b...

X Description: Variable-name validation enabled PCRE UTF-8 mode with the in-pattern (*UTF8) verb rather than the u modifier, so PHP never checked that the subject was valid UTF-8 before matching. On a malformed b...

Opengraph URL: https://github.com/phpdotenv/phpdotenv/pull/602

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

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:17f54b8a-aa0d-2dd6-cafe-9e9e5835cb2c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id98D2:113BA5:3D137A:51A88C:6B061C74
html-safe-nonce5b3b999da25230d6f69b5d49c5e535f8decd8d706ebfd42e95848dda37cf69ae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEQyOjExM0JBNTozRDEzN0E6NTFBODhDOjZCMDYxQzc0IiwidmlzaXRvcl9pZCI6IjQ1MDA1NDk0NDU0NTE4NDg4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7bfd1542989cfc4791ccf1befa8ea71f4a0c2e5a5e9fea8f7701bf54f02c99b0
hovercard-subject-tagpull_request:4344448475
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/phpdotenv/phpdotenv/602/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/acbe8a8cfbd45378554fc995d2a406785873c3f0418b4e8a1cfd9a26faa8f613/phpdotenv/phpdotenv/pull/602
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/acbe8a8cfbd45378554fc995d2a406785873c3f0418b4e8a1cfd9a26faa8f613/phpdotenv/phpdotenv/pull/602
og:image:altVariable-name validation enabled PCRE UTF-8 mode with the in-pattern (*UTF8) verb rather than the u modifier, so PHP never checked that the subject was valid UTF-8 before matching. On a malformed b...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameGrahamCampbell
hostnamegithub.com
expected-hostnamegithub.com
None9a7c5824b75ea2ec5e3de73a483229c7bb9f32a774ffd401f010dd9bacf1483d
turbo-cache-controlno-cache
go-importgithub.com/phpdotenv/phpdotenv git https://github.com/phpdotenv/phpdotenv.git
octolytics-dimension-user_id320763234
octolytics-dimension-user_loginphpdotenv
octolytics-dimension-repository_id7769432
octolytics-dimension-repository_nwophpdotenv/phpdotenv
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7769432
octolytics-dimension-repository_network_root_nwophpdotenv/phpdotenv
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
releaseb25c3080e84402f75431d8dc7a96b2635219cec7
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpdotenv/phpdotenv/pull/602#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpdotenv%2Fphpdotenv%2Fpull%2F602
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%2Fphpdotenv%2Fphpdotenv%2Fpull%2F602
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=phpdotenv%2Fphpdotenv
Reloadhttps://github.com/phpdotenv/phpdotenv/pull/602
Reloadhttps://github.com/phpdotenv/phpdotenv/pull/602
Reloadhttps://github.com/phpdotenv/phpdotenv/pull/602
phpdotenvhttps://github.com/phpdotenv
phpdotenvhttps://github.com/phpdotenv/phpdotenv
Codehttps://github.com/phpdotenv/phpdotenv
Issues1 (1)https://github.com/phpdotenv/phpdotenv/issues
Pull requestshttps://github.com/phpdotenv/phpdotenv/pulls
Actionshttps://github.com/phpdotenv/phpdotenv/actions
Projectshttps://github.com/phpdotenv/phpdotenv/projects
Security and quality4 (4)https://github.com/phpdotenv/phpdotenv/security
Insightshttps://github.com/phpdotenv/phpdotenv/insights
https://github.com/phpdotenv/phpdotenv
GrahamCampbellhttps://github.com/GrahamCampbell
masterhttps://github.com/phpdotenv/phpdotenv/tree/master
fix/utf8-name-validation-modifierhttps://github.com/phpdotenv/phpdotenv/tree/fix/utf8-name-validation-modifier
Conversationhttps://github.com/phpdotenv/phpdotenv/pull/602
Commits3 (3)https://github.com/phpdotenv/phpdotenv/pull/602/commits
Checkshttps://github.com/phpdotenv/phpdotenv/pull/602/checks
Files changedhttps://github.com/phpdotenv/phpdotenv/pull/602/files
Fix memory-safety crash on invalid UTF-8 variable nameshttps://github.com/phpdotenv/phpdotenv/pull/602#top
GrahamCampbellhttps://github.com/GrahamCampbell
masterhttps://github.com/phpdotenv/phpdotenv/tree/master
fix/utf8-name-validation-modifierhttps://github.com/phpdotenv/phpdotenv/tree/fix/utf8-name-validation-modifier
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
Aug 24, 2026https://github.com/phpdotenv/phpdotenv/pull/602#issue-5229947597
Please reload this pagehttps://github.com/phpdotenv/phpdotenv/pull/602
Please reload this pagehttps://github.com/phpdotenv/phpdotenv/pull/602
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
Aug 24, 2026 https://github.com/phpdotenv/phpdotenv/pull/602#ref-pullrequest-5229948956
Make the putenv adapter null-byte safe #603 https://github.com/phpdotenv/phpdotenv/pull/603
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
August 24, 2026 10:42https://github.com/phpdotenv/phpdotenv/pull/602#event-29907085674
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
force-pushedhttps://github.com/phpdotenv/phpdotenv/compare/b3d755d6def76a266e8d1e7ac229162587e360e7..cc880aebf55d5f4b5c3704525e67817a726bf50c
b3d755dhttps://github.com/phpdotenv/phpdotenv/commit/b3d755d6def76a266e8d1e7ac229162587e360e7
cc880aehttps://github.com/phpdotenv/phpdotenv/commit/cc880aebf55d5f4b5c3704525e67817a726bf50c
Compare https://github.com/phpdotenv/phpdotenv/compare/b3d755d6def76a266e8d1e7ac229162587e360e7..cc880aebf55d5f4b5c3704525e67817a726bf50c
August 24, 2026 10:42https://github.com/phpdotenv/phpdotenv/pull/602#event-29907105965
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
force-pushedhttps://github.com/phpdotenv/phpdotenv/compare/8b7629769420aea27e95b5baff0a5c0b5fcb723f..46e982efecbe59e9996dab3cd76141e7db14b3ae
8b76297https://github.com/phpdotenv/phpdotenv/commit/8b7629769420aea27e95b5baff0a5c0b5fcb723f
46e982ehttps://github.com/phpdotenv/phpdotenv/commit/46e982efecbe59e9996dab3cd76141e7db14b3ae
Compare https://github.com/phpdotenv/phpdotenv/compare/8b7629769420aea27e95b5baff0a5c0b5fcb723f..46e982efecbe59e9996dab3cd76141e7db14b3ae
August 24, 2026 17:28https://github.com/phpdotenv/phpdotenv/pull/602#event-29928960937
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
force-pushedhttps://github.com/phpdotenv/phpdotenv/compare/558a54a0c95953396630ce8dd3043a191204bc92..5249b62816f21e6161032babb9f7bfc738ba80ba
558a54ahttps://github.com/phpdotenv/phpdotenv/commit/558a54a0c95953396630ce8dd3043a191204bc92
5249b62https://github.com/phpdotenv/phpdotenv/commit/5249b62816f21e6161032babb9f7bfc738ba80ba
Compare https://github.com/phpdotenv/phpdotenv/compare/558a54a0c95953396630ce8dd3043a191204bc92..5249b62816f21e6161032babb9f7bfc738ba80ba
August 24, 2026 17:28https://github.com/phpdotenv/phpdotenv/pull/602#event-29928962948
August 24, 2026 17:42https://github.com/phpdotenv/phpdotenv/pull/602#event-29929755411
GrahamCampbellhttps://github.com/GrahamCampbell
August 24, 2026 18:43https://github.com/phpdotenv/phpdotenv/pull/602#commits-pushed-aea163f
https://github.com/GrahamCampbell
Validate variable names with the u modifier instead of the (*UTF8) verbhttps://github.com/phpdotenv/phpdotenv/pull/602/commits/aea163f857501a23f536a7cfd6193fad0e179cce
aea163fhttps://github.com/phpdotenv/phpdotenv/pull/602/commits/aea163f857501a23f536a7cfd6193fad0e179cce
https://github.com/GrahamCampbell
Add tests pinning invalid UTF-8 name rejectionhttps://github.com/phpdotenv/phpdotenv/pull/602/commits/bcbfb0ed398bed6c9ba7d1178ae258458e78a48b
bcbfb0ehttps://github.com/phpdotenv/phpdotenv/pull/602/commits/bcbfb0ed398bed6c9ba7d1178ae258458e78a48b
https://github.com/GrahamCampbell
Strip the export prefix and name quotes with byte operationshttps://github.com/phpdotenv/phpdotenv/pull/602/commits/1c2769e241bd8b3922d16078b57ce8f5a693ad5f
1c2769ehttps://github.com/phpdotenv/phpdotenv/pull/602/commits/1c2769e241bd8b3922d16078b57ce8f5a693ad5f
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
force-pushedhttps://github.com/phpdotenv/phpdotenv/compare/5249b62816f21e6161032babb9f7bfc738ba80ba..1c2769e241bd8b3922d16078b57ce8f5a693ad5f
5249b62https://github.com/phpdotenv/phpdotenv/commit/5249b62816f21e6161032babb9f7bfc738ba80ba
1c2769ehttps://github.com/phpdotenv/phpdotenv/commit/1c2769e241bd8b3922d16078b57ce8f5a693ad5f
Compare https://github.com/phpdotenv/phpdotenv/compare/5249b62816f21e6161032babb9f7bfc738ba80ba..1c2769e241bd8b3922d16078b57ce8f5a693ad5f
August 24, 2026 17:43https://github.com/phpdotenv/phpdotenv/pull/602#event-29929805496
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
8bf174ehttps://github.com/phpdotenv/phpdotenv/commit/8bf174ebb3d0ffdac476cd45c3ed79ede4608efc
Aug 24, 2026https://github.com/phpdotenv/phpdotenv/pull/602#event-29929903345
Please reload this pagehttps://github.com/phpdotenv/phpdotenv/pull/602
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
August 24, 2026 17:45https://github.com/phpdotenv/phpdotenv/pull/602#event-29929907771
https://github.co/hiddenchars
https://github.com/phpdotenv/phpdotenv/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%2Fphpdotenv%2Fphpdotenv%2Fpull%2F602
Please reload this pagehttps://github.com/phpdotenv/phpdotenv/pull/602
Please reload this pagehttps://github.com/phpdotenv/phpdotenv/pull/602
https://github.com/GrahamCampbell
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.