| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:bf559393-af9d-a4aa-6fe2-b9239881b256 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DF28:92B70:47E0C:6A8E5:6AFDCA97 |
| html-safe-nonce | 7191d7541f7f3d8016375fe43ccb5d5b9cb54b4da0cd81f9d1488e0374011d1d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjI4OjkyQjcwOjQ3RTBDOjZBOEU1OjZBRkRDQTk3IiwidmlzaXRvcl9pZCI6IjYzOTE1MTgwODM5Nzc5NTU5OTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 04f08c5fc6b24a9d95bb7c480ad1e4655694c006feb511132a3f5ccd6ac17127 |
| hovercard-subject-tag | pull_request:5007545892 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/theskumar/python-dotenv/736/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/7d60881efc50f5bd90131608c2aaace29a0b3d6d5260b5c9c4276364e7f20710/theskumar/python-dotenv/pull/736 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7d60881efc50f5bd90131608c2aaace29a0b3d6d5260b5c9c4276364e7f20710/theskumar/python-dotenv/pull/736 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mayur-dhavan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9ab00cc3b4fa90bbd3da70765dd38efc23cfa9d9b0930e41feea2bf67f60ecaf |
| turbo-cache-control | no-cache |
| go-import | github.com/theskumar/python-dotenv git https://github.com/theskumar/python-dotenv.git |
| octolytics-dimension-user_id | 236356 |
| octolytics-dimension-user_login | theskumar |
| octolytics-dimension-repository_id | 23727790 |
| octolytics-dimension-repository_nwo | theskumar/python-dotenv |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 23727790 |
| octolytics-dimension-repository_network_root_nwo | theskumar/python-dotenv |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1b795ba060b92691fc16c5a12cf2bf95e83432b4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/theskumar/python-dotenv/pull/736#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftheskumar%2Fpython-dotenv%2Fpull%2F736 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftheskumar%2Fpython-dotenv%2Fpull%2F736 |
| Sign up | https://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 |
| Reload | https://github.com/theskumar/python-dotenv/pull/736 |
| Reload | https://github.com/theskumar/python-dotenv/pull/736 |
| Reload | https://github.com/theskumar/python-dotenv/pull/736 |
| theskumar | https://github.com/theskumar |
| python-dotenv | https://github.com/theskumar/python-dotenv |
| Code | https://github.com/theskumar/python-dotenv |
| Issues52 (52) | https://github.com/theskumar/python-dotenv/issues |
| Pull requests73 (73) | https://github.com/theskumar/python-dotenv/pulls |
| Actions | https://github.com/theskumar/python-dotenv/actions |
| Wiki | https://github.com/theskumar/python-dotenv/wiki |
| Security and quality1 (1) | https://github.com/theskumar/python-dotenv/security |
| Insights | https://github.com/theskumar/python-dotenv/pulse |
| https://github.com/theskumar/python-dotenv |
| mayur-dhavan | https://github.com/mayur-dhavan |
| theskumar:main | https://github.com/theskumar/python-dotenv/tree/main |
| mayur-dhavan:fix-posix-default-on-empty | https://github.com/mayur-dhavan/python-dotenv/tree/fix-posix-default-on-empty |
| Conversation | https://github.com/theskumar/python-dotenv/pull/736 |
| Commits2 (2) | https://github.com/theskumar/python-dotenv/pull/736/commits |
| Checks | https://github.com/theskumar/python-dotenv/pull/736/checks |
| Files changed | https://github.com/theskumar/python-dotenv/pull/736/files |
| Fix ${name:-default} ignoring set-but-empty variables | https://github.com/theskumar/python-dotenv/pull/736#top |
| mayur-dhavan | https://github.com/mayur-dhavan |
| theskumar:main | https://github.com/theskumar/python-dotenv/tree/main |
| mayur-dhavan:fix-posix-default-on-empty | https://github.com/mayur-dhavan/python-dotenv/tree/fix-posix-default-on-empty |
|
| https://github.com/mayur-dhavan |
| mayur-dhavan | https://github.com/mayur-dhavan |
| Oct 25, 2026 | https://github.com/theskumar/python-dotenv/pull/736#issue-6027902860 |
| #715 | https://github.com/theskumar/python-dotenv/issues/715 |
| Please reload this page | https://github.com/theskumar/python-dotenv/pull/736 |
| mayur-dhavan | https://github.com/mayur-dhavan |
| October 26, 2026 00:07 | https://github.com/theskumar/python-dotenv/pull/736#commits-pushed-d29e0e9 |
|
| https://github.com/mayur-dhavan |
| Apply ${name:-default} when the variable is set but empty | https://github.com/theskumar/python-dotenv/pull/736/commits/d29e0e9f789bbd056abf9dcefcdbe8f16451be9a |
| d29e0e9 | https://github.com/theskumar/python-dotenv/pull/736/commits/d29e0e9f789bbd056abf9dcefcdbe8f16451be9a |
|
| https://github.com/mayur-dhavan |
| Test ${name:-default} with a set-but-empty variable | https://github.com/theskumar/python-dotenv/pull/736/commits/31aecc08b552918365b0f282e953fa4f27896f88 |
| 31aecc0 | https://github.com/theskumar/python-dotenv/pull/736/commits/31aecc08b552918365b0f282e953fa4f27896f88 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| October 25, 2026 18:38 | https://github.com/theskumar/python-dotenv/pull/736#event-34197426869 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
|
Oct 25, 2026
| https://github.com/theskumar/python-dotenv/pull/736#pullrequestreview-5644680093 |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| https://github.com/theskumar/python-dotenv/pull/736#pullrequestreview-5644680093 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/theskumar/python-dotenv/pull/736 |
| https://github.com/mayur-dhavan |
| mayur-dhavan | https://github.com/mayur-dhavan |
| Oct 25, 2026 | https://github.com/theskumar/python-dotenv/pull/736#issuecomment-6402743668 |
| #716 | https://github.com/theskumar/python-dotenv/pull/716 |
| #720 | https://github.com/theskumar/python-dotenv/pull/720 |
| #715 | https://github.com/theskumar/python-dotenv/issues/715 |
| Please reload this page | https://github.com/theskumar/python-dotenv/pull/736 |
| https://github.com/mayur-dhavan |
| mayur-dhavan | https://github.com/mayur-dhavan |
| Oct 25, 2026 | https://github.com/theskumar/python-dotenv/pull/736#event-34201979657 |
| https://github.co/hiddenchars |
| https://github.com/theskumar/python-dotenv/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://github.com/theskumar/python-dotenv/pull/736 |
|
An empty value ignores ${name:-default}
| https://github.com/theskumar/python-dotenv/issues/715 |
| Please reload this page | https://github.com/theskumar/python-dotenv/pull/736 |
|
| https://github.com/mayur-dhavan |
|
| https://github.com/apps/copilot-pull-request-reviewer |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |