[Storage] IPv6 Connection String #6509
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-triage
Workflow: This is a new issue that needs to be triaged to the appropriate team.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
When using IPv6 connection string for storage it does not follow RFC, it attempts to parse the first : as start of port. In the case of ipv6 it should detect "[]" and recognize any : within as part of the host string
Exception or Stack Trace
errors on "stoi"
To Reproduce
use any ipv6 address in connection string
Code Snippet
Add the code snippet that causes the issue.
Expected behavior
parse host and port correctly in ipv6 case
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
Additional context
Some services connect to blob using ipv6 raw address, also used in testing against Azurite
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: