Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smx509: properly check for IPv6 hosts in URIs #296

Open
emmansun opened this issue Jan 17, 2025 · 0 comments
Open

smx509: properly check for IPv6 hosts in URIs #296

emmansun opened this issue Jan 17, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request sync sdk

Comments

@emmansun
Copy link
Owner

When checking URI constraints, use netip.ParseAddr, which understands zones, unlike net.ParseIP which chokes on them. This prevents zone IDs
from mistakenly satisfying URI constraints.

@emmansun emmansun added enhancement New feature or request sync sdk labels Jan 17, 2025
@emmansun emmansun self-assigned this Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sync sdk
Projects
None yet
Development

No branches or pull requests

1 participant