elviejokike / flask-eureka

Flask Eureka Integration
MIT License
25 stars 18 forks source link

Fix IndexOutOfBounds in ipv4 split #11

Closed Freezor closed 4 years ago

Freezor commented 4 years ago

By checking if the string contains ':' this issue could be avoided. This was done due to the issue #9 I created last year and was a sufficient fix for me.

Maybe additional unit tests can also improve this class