stubby icon indicating copy to clipboard operation
stubby copied to clipboard

Stubby yaml processing doesn't support IPv6 addresses that end in ::

Open saradickinson opened this issue 8 years ago • 4 comments

saradickinson avatar Oct 04 '17 09:10 saradickinson

How about ending it in ::0?

wtoorop avatar Oct 04 '17 11:10 wtoorop

I've made that update and comment in the config file. Yaml should really support quotes as suggested in #16 so I'll leave this open to address a fix for quoting IP addresses.

saradickinson avatar Oct 20 '17 13:10 saradickinson

Any code that wants to read YAML files should be linked against libyaml. Stubby, at least on OSX, is, so it should be able to handle IPv6 addresses ending in ::, as long as they are quoted in the config file. I don't understand your comment that "Yaml should really support quotes". It does, and the libyaml library does. Things only break if you start to parse YAML yourself, and you really shouldn't be doing that.

aabdnn avatar Oct 20 '17 14:10 aabdnn

Point taken. I meant "support for yaml format config file in stubby should support IPv6 addresses" ending in :: I've changed the title :-)

saradickinson avatar Oct 20 '17 14:10 saradickinson