Skip to content

[Storage] IPv6 Connection String #6509

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

Open
3 tasks
mithoAzure opened this issue Apr 4, 2025 · 0 comments
Open
3 tasks

[Storage] IPv6 Connection String #6509

mithoAzure opened this issue Apr 4, 2025 · 0 comments
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

Comments

@mithoAzure
Copy link

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):

  • OS: [e.g. iOS] Azure Linux 3.0
  • IDE : [e.g. IntelliJ]
  • Version of the Library used

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

  • Bug Description Added
  • Repro Steps Added
  • Setup information Added
@github-actions github-actions bot added 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 labels Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant