Skip to content

revert: "feat: dprint upgrade bypasses DPRINT_ALLOWED_HOSTS" - #1503

Merged
dsherret merged 1 commit into
mainfrom
revert/upgrade-bypass-allowed-hosts
Dec 1, 2026
Merged

dsherret merged 1 commit into
mainfrom
revert/upgrade-bypass-allowed-hosts

Conversation

@dsherret

@dsherret dsherret commented Dec 1, 2026

Copy link
Copy Markdown
Member

Reverts #1499, so DPRINT_ALLOWED_HOSTS applies to dprint upgrade again. Also removes the mention of it that was added to the hardening docs in #1500.

It was exempt because upgrading needed plugins.dprint.dev, github.com, and the host GitHub redirects release assets to. #1502 is stacked on this and has it download from npm instead, so only the registry will be necessary.

Until #1502 is merged, upgrading with DPRINT_ALLOWED_HOSTS set requires allowing those hosts.

@dsherret
dsherret added this pull request to stack #1504 December 1, 2026 01:35
@dsherret
dsherret merged commit 5e19817 into main Dec 1, 2026
5 checks passed
@dsherret
dsherret deleted the revert/upgrade-bypass-allowed-hosts branch December 1, 2026 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant