-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
ConfigurationOptions.ToString does not add brackets to IPv6 address #2811
Comments
Agreed, we need some |
working on it ^^^ |
Thanks for the swift fix! Is there an ETA for the next release of StackExchange.Redis package? |
Actually, 2.8.18 is available right now on the myget preview feed (https://www.myget.org/gallery/stackoverflow) - it would be super useful if you're able to try against that build, and check whether it works as you expect (it is the exact same build, as produced by the build-server - just not yet published on NuGet) |
Great! There's a few hoops to jump through for a "proper" release (tags, release notes, deploys, etc) - shouldn't be long, but you can happily keep using the myget one for now. |
Hello!
I'm having an issue when calling
ConfigurationOptions.ToString
method, when my connection string has an IPv6 address.Just for some context, I'm using Redis as a backplane for SignalR and I parse my original connection string to enhance it. Then, I convert it back to string to pass it to
RedisScaleoutConfiguration
([email protected]
- I'm using .Net Framework 4.8).That's why I need to use
ConfigurationOptions.ToString
method, and I'd expect my connection string IPv6 address to have brackets added to it.The following example reproduces the behavior:
From my observation, the
ConfigurationOptions.ToString
method writes the endpoints usingFormat
class, which directly writes the IP address without checking if that's an IPv6 address.The text was updated successfully, but these errors were encountered: