Skip to content

Conversation

@wty-Bryant
Copy link
Contributor

@wty-Bryant wty-Bryant commented Nov 6, 2025

No description provided.

@wty-Bryant wty-Bryant requested review from a team as code owners November 6, 2025 21:03
@wty-Bryant wty-Bryant changed the title Add host label validation for region before ep resolution [Draft, don't merge] Add host label validation for region before ep resolution Nov 6, 2025
Copy link
Contributor

@Madrigal Madrigal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change LGTM, even though it's not akshually checking for all cases mentioned in the RFC, specifically

They must start with a letter, end with a letter or digit

ref, but this is good enough

There's some internal discussion about this, so let's get consensus on it before merging

}
""",
MapUtils.of(
"validHost", SmithyGoTypes.Transport.Http.ValidHostLabel,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For context, this is the host label function

func ValidHostLabel(label string) bool {

it's basically checking x < 64 && x.match([azAZ09-])

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.

2 participants