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

IPv6LL support is broken - Host: header contains unencoded IPv6 numeric address #78

Closed
michaelrsweet opened this issue Mar 1, 2024 · 1 comment
Assignees
Labels
bug Something isn't working priority-medium
Milestone

Comments

@michaelrsweet
Copy link
Member

CUPS is sending a Host: header for IPv6 link local address without the proper encoding. A URI of the form:

scheme://[v1.fe80::aaaa:bbbb:cccc:dddd+zoneid]:port/resource

should result in a Host: header of the form:

Host: [v1.fe80::aaaa:bbbb:cccc:dddd+zoneid]:port

Instead CUPS is sending:

Host: [fe80::aaaa:bbbb:cccc:dddd%zoneid]:port
@michaelrsweet michaelrsweet added bug Something isn't working priority-medium labels Mar 1, 2024
@michaelrsweet michaelrsweet added this to the v3.0 milestone Mar 1, 2024
@michaelrsweet michaelrsweet self-assigned this Mar 1, 2024
@michaelrsweet
Copy link
Member Author

This also affects routable addresses in that the Host: value is missing the braces.

[master cb2e960] Fix IPv6 address encoding in the Host: header (Issue #78)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-medium
Projects
None yet
Development

No branches or pull requests

1 participant