Skip to content

[Codespaces] Environment variables are not propagated to codespace.config.php anymore #60662

@R0Wi

Description

@R0Wi

It seems that some changs have been made to the Codespaces environment. For some reason, env vars CODESPACE_NAME and GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN are not readable anymore in codespace.config.php (getenv always returns false).

This leads to a wrong redirect: when opening the Codepace, the user is redirected to "localhost" instead of the codespace subdomain

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

Status

To triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions