Skip to content

fix: update defaultEndpointRegex and reject empty universe domain - #2641

Merged
whowes merged 1 commit into
mainfrom
whowes/endpoint-regex
Nov 25, 2026
Merged

whowes merged 1 commit into
mainfrom
whowes/endpoint-regex

Conversation

@whowes

@whowes whowes commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Default endpoint matching in AbstractGoogleClient previously accepted only letters, leaving services with digits, hyphens, multi-label subdomains, or ports pinned to googleapis.com even when a custom universe domain was configured.

This change updates the pattern to accept valid host labels and optional ports while rejecting empty service names. It also rejects an empty GOOGLE_CLOUD_UNIVERSE_DOMAIN environment variable, matching setUniverseDomain.

@product-auto-label product-auto-label Bot added the size: m Pull request size is medium. label Nov 25, 2026
@whowes
whowes force-pushed the whowes/endpoint-regex branch from 1594436 to 3435422 Compare November 25, 2026 01:11
@whowes
whowes marked this pull request as ready for review November 25, 2026 08:03
@whowes
whowes requested a review from a team as a code owner November 25, 2026 08:03
@whowes
whowes merged commit 5fd9cbe into main Nov 25, 2026
22 checks passed
@whowes
whowes deleted the whowes/endpoint-regex branch November 25, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants