Skip to content

Conversation

@JoshCarterWeb
Copy link
Contributor

@JoshCarterWeb JoshCarterWeb commented Oct 31, 2025

What

  • Extend platform URL validation in siteglide-cli-add.js to accept staging-siteglide.com alongside:
    • platform-os.com
    • platformos.com
    • uk-siteglide.com
  • Bump package version to 1.10.3.

Why

Environments hosted on *.staging-siteglide.com were incorrectly treated as vanity URLs and blocked. This change updates the allow-list so staging platform URLs are recognised as valid.

How

Add !params.url.includes('staging-siteglide.com') to the existing validation condition. No other behavioural changes.

Risks & Considerations

  • Risk: Low—broadens validation to another first-party domain.

Testing

  • https://my-site.staging-siteglide.com/ now passes.
  • https://my-site.uk-siteglide.com/, https://my-site.platformos.com/, and https://my-site.platform-os.com/ continue to pass.
  • ❌ Known vanity domains continue to fail as expected.

Changelog

  • Accept *.staging-siteglide.com as a valid platform URL when adding environments.
  • Bump version to 1.10.3.

@JoshCarterWeb JoshCarterWeb changed the title Adds staging-siteglide.com to add command whitelist Add staging-siteglide.com to allowed platform URL check; bump to 1.10.3 Oct 31, 2025
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