René's URL Explorer Experiment


Title: Make the putenv adapter null-byte safe by GrahamCampbell · Pull Request #603 · phpdotenv/phpdotenv · GitHub

Open Graph Title: Make the putenv adapter null-byte safe by GrahamCampbell · Pull Request #603 · phpdotenv/phpdotenv

X Title: Make the putenv adapter null-byte safe by GrahamCampbell · Pull Request #603 · phpdotenv/phpdotenv

Description: Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically. - Make the putenv adapter null-byte safe by GrahamCampbell · Pull Request #603 · phpdotenv/phpdotenv

Open Graph Description: On PHP 8.6 putenv and getenv throw a ValueError when a name or value contains a null byte, and because the parser preserves null bytes and the repository name guard only rejects the empty string, s...

X Description: On PHP 8.6 putenv and getenv throw a ValueError when a name or value contains a null byte, and because the parser preserves null bytes and the repository name guard only rejects the empty string, s...

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

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:bd6a21e0-c5cd-0fbd-f4e4-39eebf323e78
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAA64:8AD7D:3B000B:4F3349:6B061C80
html-safe-nonce71b3bbc5dd45f95204f5502e3f9ca43e6afd89c9e8777868f7b8f147f6c090f8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTY0OjhBRDdEOjNCMDAwQjo0RjMzNDk6NkIwNjFDODAiLCJ2aXNpdG9yX2lkIjoiMzg1ODM5NzA1NzcwNjc2MTM0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac91addadc2f9ad362809d7040d7fab92b56ff4488874462934aa0e8f199730505
hovercard-subject-tagpull_request:4344449595
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/603/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5a58365e8ca3feace0f9b7b904bf60eadca3c061f3a240ad2852acb54e84d26d/phpdotenv/phpdotenv/pull/603
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5a58365e8ca3feace0f9b7b904bf60eadca3c061f3a240ad2852acb54e84d26d/phpdotenv/phpdotenv/pull/603
og:image:altOn PHP 8.6 putenv and getenv throw a ValueError when a name or value contains a null byte, and because the parser preserves null bytes and the repository name guard only rejects the empty string, s...
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-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpdotenv/phpdotenv/pull/603#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpdotenv%2Fphpdotenv%2Fpull%2F603
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%2F603
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/603
Reloadhttps://github.com/phpdotenv/phpdotenv/pull/603
Reloadhttps://github.com/phpdotenv/phpdotenv/pull/603
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/putenv-null-byte-safetyhttps://github.com/phpdotenv/phpdotenv/tree/fix/putenv-null-byte-safety
Conversationhttps://github.com/phpdotenv/phpdotenv/pull/603
Commits1 (1)https://github.com/phpdotenv/phpdotenv/pull/603/commits
Checkshttps://github.com/phpdotenv/phpdotenv/pull/603/checks
Files changedhttps://github.com/phpdotenv/phpdotenv/pull/603/files
Make the putenv adapter null-byte safehttps://github.com/phpdotenv/phpdotenv/pull/603#top
GrahamCampbellhttps://github.com/GrahamCampbell
masterhttps://github.com/phpdotenv/phpdotenv/tree/master
fix/putenv-null-byte-safetyhttps://github.com/phpdotenv/phpdotenv/tree/fix/putenv-null-byte-safety
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
Aug 24, 2026https://github.com/phpdotenv/phpdotenv/pull/603#issue-5229948956
#602https://github.com/phpdotenv/phpdotenv/pull/602
Please reload this pagehttps://github.com/phpdotenv/phpdotenv/pull/603
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
Aug 24, 2026 https://github.com/phpdotenv/phpdotenv/pull/603#ref-pullrequest-5229949088
Remove quadratic value parsing #604 https://github.com/phpdotenv/phpdotenv/pull/604
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
force-pushedhttps://github.com/phpdotenv/phpdotenv/compare/1c34d13c9611f6e93e46bdc4886f49a165902df9..488f91e4bfc29420f7e722d83ae8025ff604e495
1c34d13https://github.com/phpdotenv/phpdotenv/commit/1c34d13c9611f6e93e46bdc4886f49a165902df9
488f91ehttps://github.com/phpdotenv/phpdotenv/commit/488f91e4bfc29420f7e722d83ae8025ff604e495
Compare https://github.com/phpdotenv/phpdotenv/compare/1c34d13c9611f6e93e46bdc4886f49a165902df9..488f91e4bfc29420f7e722d83ae8025ff604e495
August 24, 2026 01:01https://github.com/phpdotenv/phpdotenv/pull/603#event-29886105705
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/603#event-29907105908
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
force-pushedhttps://github.com/phpdotenv/phpdotenv/compare/d0a2385d1d787d28a603d2126963810a43bd4b55..8fdf977e2aedb69518ece04dbba5542570a3c9d7
d0a2385https://github.com/phpdotenv/phpdotenv/commit/d0a2385d1d787d28a603d2126963810a43bd4b55
8fdf977https://github.com/phpdotenv/phpdotenv/commit/8fdf977e2aedb69518ece04dbba5542570a3c9d7
Compare https://github.com/phpdotenv/phpdotenv/compare/d0a2385d1d787d28a603d2126963810a43bd4b55..8fdf977e2aedb69518ece04dbba5542570a3c9d7
August 24, 2026 13:22https://github.com/phpdotenv/phpdotenv/pull/603#event-29915122519
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/603#event-29928963079
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
force-pushedhttps://github.com/phpdotenv/phpdotenv/compare/8fdf977e2aedb69518ece04dbba5542570a3c9d7..979a77d6a978a715a57e0e5ee1a3d3701dc3e432
8fdf977https://github.com/phpdotenv/phpdotenv/commit/8fdf977e2aedb69518ece04dbba5542570a3c9d7
979a77dhttps://github.com/phpdotenv/phpdotenv/commit/979a77d6a978a715a57e0e5ee1a3d3701dc3e432
Compare https://github.com/phpdotenv/phpdotenv/compare/8fdf977e2aedb69518ece04dbba5542570a3c9d7..979a77d6a978a715a57e0e5ee1a3d3701dc3e432
August 24, 2026 17:28https://github.com/phpdotenv/phpdotenv/pull/603#event-29928964694
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/603#event-29929805605
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
force-pushedhttps://github.com/phpdotenv/phpdotenv/compare/979a77d6a978a715a57e0e5ee1a3d3701dc3e432..63d1654ae31999ee6c846f8dec623e65c45cb11e
979a77dhttps://github.com/phpdotenv/phpdotenv/commit/979a77d6a978a715a57e0e5ee1a3d3701dc3e432
63d1654https://github.com/phpdotenv/phpdotenv/commit/63d1654ae31999ee6c846f8dec623e65c45cb11e
Compare https://github.com/phpdotenv/phpdotenv/compare/979a77d6a978a715a57e0e5ee1a3d3701dc3e432..63d1654ae31999ee6c846f8dec623e65c45cb11e
August 24, 2026 17:43https://github.com/phpdotenv/phpdotenv/pull/603#event-29929807388
August 24, 2026 17:45https://github.com/phpdotenv/phpdotenv/pull/603#event-29929907338
https://github.com/GrahamCampbell
Skip environment writes and reads for names or values containing a nu…https://github.com/phpdotenv/phpdotenv/pull/603/commits/6f2f0148c0863b8617fe4c8a080e33361add57e4
6f2f014https://github.com/phpdotenv/phpdotenv/pull/603/commits/6f2f0148c0863b8617fe4c8a080e33361add57e4
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
force-pushedhttps://github.com/phpdotenv/phpdotenv/compare/63d1654ae31999ee6c846f8dec623e65c45cb11e..6f2f0148c0863b8617fe4c8a080e33361add57e4
63d1654https://github.com/phpdotenv/phpdotenv/commit/63d1654ae31999ee6c846f8dec623e65c45cb11e
6f2f014https://github.com/phpdotenv/phpdotenv/commit/6f2f0148c0863b8617fe4c8a080e33361add57e4
Compare https://github.com/phpdotenv/phpdotenv/compare/63d1654ae31999ee6c846f8dec623e65c45cb11e..6f2f0148c0863b8617fe4c8a080e33361add57e4
August 24, 2026 17:46https://github.com/phpdotenv/phpdotenv/pull/603#event-29929932118
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
46d5ce3https://github.com/phpdotenv/phpdotenv/commit/46d5ce3d9f81bc686ca73fa47995627f4901c985
Aug 24, 2026https://github.com/phpdotenv/phpdotenv/pull/603#event-29929988459
Please reload this pagehttps://github.com/phpdotenv/phpdotenv/pull/603
https://github.com/GrahamCampbell
GrahamCampbellhttps://github.com/GrahamCampbell
August 24, 2026 17:47https://github.com/phpdotenv/phpdotenv/pull/603#event-29929991575
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%2F603
Please reload this pagehttps://github.com/phpdotenv/phpdotenv/pull/603
Please reload this pagehttps://github.com/phpdotenv/phpdotenv/pull/603
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.