Skip to content

feat: hostname validation - #10

Merged
JuliDi merged 1 commit into
mainfrom
julian/validate-hostname
Aug 7, 2026
Merged

feat: hostname validation#10
JuliDi merged 1 commit into
mainfrom
julian/validate-hostname

Conversation

@JuliDi

@JuliDi JuliDi commented Aug 7, 2026

Copy link
Copy Markdown
Member

siteverify() now takes an optional second argument that is a list of valid hostnames to verify the reponse against.

Also bumps edition to 2024 so we can use the cascaded if-let-statements. (I was planning on doing that for the 0.4.0 release anyway).

siteverify() now takes an optional second argument that is a list
of valid hostnames to verify the reponse against.
@JuliDi
JuliDi requested a review from joelsa August 7, 2026 10:05
@JuliDi JuliDi self-assigned this Aug 7, 2026
@JuliDi JuliDi added the enhancement New feature or request label Aug 7, 2026

@joelsa joelsa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes, nice. I think verifying the action can be left to the caller.

@JuliDi
JuliDi merged commit 1f78c1a into main Aug 7, 2026
4 checks passed
@JuliDi
JuliDi deleted the julian/validate-hostname branch August 7, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants