René's URL Explorer Experiment


Title: Fix ${name:-default} ignoring set-but-empty variables by mayur-dhavan · Pull Request #736 · theskumar/python-dotenv · GitHub

Open Graph Title: Fix ${name:-default} ignoring set-but-empty variables by mayur-dhavan · Pull Request #736 · theskumar/python-dotenv

X Title: Fix ${name:-default} ignoring set-but-empty variables by mayur-dhavan · Pull Request #736 · theskumar/python-dotenv

Description: Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-factor principles. - Fix ${name:-default} ignoring set-but-empty variables by mayur-dhavan · Pull Request #736 · theskumar/python-dotenv

Open Graph Description: Fixes #715. Problem POSIX ${name:-default} applies the default when name is unset or empty. python-dotenv only applied it when the variable was unset, so an explicitly empty value leaked through: d...

X Description: Fixes #715. Problem POSIX ${name:-default} applies the default when name is unset or empty. python-dotenv only applied it when the variable was unset, so an explicitly empty value leaked through: d...

Opengraph URL: https://github.com/theskumar/python-dotenv/pull/736

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:bf559393-af9d-a4aa-6fe2-b9239881b256
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDF28:92B70:47E0C:6A8E5:6AFDCA97
html-safe-nonce7191d7541f7f3d8016375fe43ccb5d5b9cb54b4da0cd81f9d1488e0374011d1d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjI4OjkyQjcwOjQ3RTBDOjZBOEU1OjZBRkRDQTk3IiwidmlzaXRvcl9pZCI6IjYzOTE1MTgwODM5Nzc5NTU5OTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac04f08c5fc6b24a9d95bb7c480ad1e4655694c006feb511132a3f5ccd6ac17127
hovercard-subject-tagpull_request:5007545892
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/theskumar/python-dotenv/736/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7d60881efc50f5bd90131608c2aaace29a0b3d6d5260b5c9c4276364e7f20710/theskumar/python-dotenv/pull/736
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7d60881efc50f5bd90131608c2aaace29a0b3d6d5260b5c9c4276364e7f20710/theskumar/python-dotenv/pull/736
og:image:altFixes #715. Problem POSIX ${name:-default} applies the default when name is unset or empty. python-dotenv only applied it when the variable was unset, so an explicitly empty value leaked through: d...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemayur-dhavan
hostnamegithub.com
expected-hostnamegithub.com
None9ab00cc3b4fa90bbd3da70765dd38efc23cfa9d9b0930e41feea2bf67f60ecaf
turbo-cache-controlno-cache
go-importgithub.com/theskumar/python-dotenv git https://github.com/theskumar/python-dotenv.git
octolytics-dimension-user_id236356
octolytics-dimension-user_logintheskumar
octolytics-dimension-repository_id23727790
octolytics-dimension-repository_nwotheskumar/python-dotenv
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id23727790
octolytics-dimension-repository_network_root_nwotheskumar/python-dotenv
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
release1b795ba060b92691fc16c5a12cf2bf95e83432b4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/theskumar/python-dotenv/pull/736#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftheskumar%2Fpython-dotenv%2Fpull%2F736
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%2Ftheskumar%2Fpython-dotenv%2Fpull%2F736
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=theskumar%2Fpython-dotenv
Reloadhttps://github.com/theskumar/python-dotenv/pull/736
Reloadhttps://github.com/theskumar/python-dotenv/pull/736
Reloadhttps://github.com/theskumar/python-dotenv/pull/736
theskumarhttps://github.com/theskumar
python-dotenvhttps://github.com/theskumar/python-dotenv
Codehttps://github.com/theskumar/python-dotenv
Issues52 (52)https://github.com/theskumar/python-dotenv/issues
Pull requests73 (73)https://github.com/theskumar/python-dotenv/pulls
Actionshttps://github.com/theskumar/python-dotenv/actions
Wikihttps://github.com/theskumar/python-dotenv/wiki
Security and quality1 (1)https://github.com/theskumar/python-dotenv/security
Insightshttps://github.com/theskumar/python-dotenv/pulse
https://github.com/theskumar/python-dotenv
mayur-dhavanhttps://github.com/mayur-dhavan
theskumar:mainhttps://github.com/theskumar/python-dotenv/tree/main
mayur-dhavan:fix-posix-default-on-emptyhttps://github.com/mayur-dhavan/python-dotenv/tree/fix-posix-default-on-empty
Conversationhttps://github.com/theskumar/python-dotenv/pull/736
Commits2 (2)https://github.com/theskumar/python-dotenv/pull/736/commits
Checkshttps://github.com/theskumar/python-dotenv/pull/736/checks
Files changedhttps://github.com/theskumar/python-dotenv/pull/736/files
Fix ${name:-default} ignoring set-but-empty variableshttps://github.com/theskumar/python-dotenv/pull/736#top
mayur-dhavanhttps://github.com/mayur-dhavan
theskumar:mainhttps://github.com/theskumar/python-dotenv/tree/main
mayur-dhavan:fix-posix-default-on-emptyhttps://github.com/mayur-dhavan/python-dotenv/tree/fix-posix-default-on-empty
https://github.com/mayur-dhavan
mayur-dhavanhttps://github.com/mayur-dhavan
Oct 25, 2026https://github.com/theskumar/python-dotenv/pull/736#issue-6027902860
#715https://github.com/theskumar/python-dotenv/issues/715
Please reload this pagehttps://github.com/theskumar/python-dotenv/pull/736
mayur-dhavanhttps://github.com/mayur-dhavan
October 26, 2026 00:07https://github.com/theskumar/python-dotenv/pull/736#commits-pushed-d29e0e9
https://github.com/mayur-dhavan
Apply ${name:-default} when the variable is set but emptyhttps://github.com/theskumar/python-dotenv/pull/736/commits/d29e0e9f789bbd056abf9dcefcdbe8f16451be9a
d29e0e9https://github.com/theskumar/python-dotenv/pull/736/commits/d29e0e9f789bbd056abf9dcefcdbe8f16451be9a
https://github.com/mayur-dhavan
Test ${name:-default} with a set-but-empty variablehttps://github.com/theskumar/python-dotenv/pull/736/commits/31aecc08b552918365b0f282e953fa4f27896f88
31aecc0https://github.com/theskumar/python-dotenv/pull/736/commits/31aecc08b552918365b0f282e953fa4f27896f88
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
October 25, 2026 18:38https://github.com/theskumar/python-dotenv/pull/736#event-34197426869
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Oct 25, 2026 https://github.com/theskumar/python-dotenv/pull/736#pullrequestreview-5644680093
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/theskumar/python-dotenv/pull/736#pullrequestreview-5644680093
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/theskumar/python-dotenv/pull/736
https://github.com/mayur-dhavan
mayur-dhavanhttps://github.com/mayur-dhavan
Oct 25, 2026https://github.com/theskumar/python-dotenv/pull/736#issuecomment-6402743668
#716https://github.com/theskumar/python-dotenv/pull/716
#720https://github.com/theskumar/python-dotenv/pull/720
#715https://github.com/theskumar/python-dotenv/issues/715
Please reload this pagehttps://github.com/theskumar/python-dotenv/pull/736
https://github.com/mayur-dhavan
mayur-dhavanhttps://github.com/mayur-dhavan
Oct 25, 2026https://github.com/theskumar/python-dotenv/pull/736#event-34201979657
https://github.co/hiddenchars
https://github.com/theskumar/python-dotenv/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%2Ftheskumar%2Fpython-dotenv%2Fpull%2F736
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/theskumar/python-dotenv/pull/736/files/31aecc08b552918365b0f282e953fa4f27896f88
Please reload this pagehttps://github.com/theskumar/python-dotenv/pull/736
An empty value ignores ${name:-default} https://github.com/theskumar/python-dotenv/issues/715
Please reload this pagehttps://github.com/theskumar/python-dotenv/pull/736
https://github.com/mayur-dhavan
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.