Skip to content

fix: ignore empty SSL_CERT_FILE environment variable#18426

Closed
1cbyc wants to merge 1 commit intoastral-sh:mainfrom
1cbyc:fix-ssl-cert-file-empty
Closed

fix: ignore empty SSL_CERT_FILE environment variable#18426
1cbyc wants to merge 1 commit intoastral-sh:mainfrom
1cbyc:fix-ssl-cert-file-empty

Conversation

@1cbyc
Copy link
Copy Markdown

@1cbyc 1cbyc commented Mar 12, 2026

Apply the same filtering logic used for other environment variables
(e.g., NO_COLOR, FORCE_COLOR) to SSL_CERT_FILE. Empty values should
be ignored rather than treated as valid paths.

This aligns with the behavior of other environment variable handling
in the codebase and prevents issues when SSL_CERT_FILE is set to an
empty string.

Fixes #16712

Apply the same filtering logic used for other environment variables
(e.g., NO_COLOR, FORCE_COLOR) to SSL_CERT_FILE. Empty values should
be ignored rather than treated as valid paths.

This aligns with the behavior of other environment variable handling
in the codebase and prevents issues when SSL_CERT_FILE is set to an
empty string.

Fixes astral-sh#16712
Jah-yee added a commit to Jah-yee/uv that referenced this pull request Mar 12, 2026
Apply the same filtering logic used for NO_COLOR and FORCE_COLOR
to SSL_CERT_FILE. Empty values should be ignored rather than
treated as valid paths.

This aligns with the behavior of SSL_CERT_DIR which already uses
this pattern.

Fixes astral-sh#18426
@samypr100 samypr100 added the duplicate This issue or pull request already exists label Mar 17, 2026
@samypr100
Copy link
Copy Markdown
Collaborator

Dupe of #16772

@samypr100
Copy link
Copy Markdown
Collaborator

Fixed by #18550

@samypr100 samypr100 closed this Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicate This issue or pull request already exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSL_CERT_FILE ignores empty value

2 participants