-
Couldn't load subscription status.
- Fork 1.1k
Closed
Labels
closed-for-stalenessfeature-requestA feature should be added or improved.A feature should be added or improved.p2This is a standard priority issueThis is a standard priority issueresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 10 days.Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.
Description
Describe the bug
The commit cb67425 introduced IPv6 address support in AWS core but it's still failing in AWSClient.cpp and function Aws::Utils::IsValidHost()
Expected behavior
Connection to http://[::1]:8000 should work.
Current behavior
Currently, the request fails with Invalid DNS Label found in URI host error
Steps to Reproduce
Create an S3 bucket using bracketed IPv6 address with explicit port, e.g. http://[::1]:8000
Possible Solution
It appears that half-work is already done and Aws::Utils::IsValidHost needs to understand bracketed GetAuthority, or rather IPs.
AWS CPP SDK version used
1.9.185
Compiler and Version used
gcc-9
Operating System and version
Ubuntu 20.04
kv83821-yb, kkg-s2, nabarobin and DieHertz
Metadata
Metadata
Assignees
Labels
closed-for-stalenessfeature-requestA feature should be added or improved.A feature should be added or improved.p2This is a standard priority issueThis is a standard priority issueresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 10 days.Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.