Re:Potholes to avoid when migrating to IPv6
by IgorPartola on Monday December 31, 2018 @06:23AM
(#18794075)
You should read TFA.
[ Parent
| on HN ]
I did. It basically said to change your input stream to avoid the problem. Not all data sources can be changed. If you don't have canonically parsable inputs, then assumptions don't work and you can't predict if an add::d:ress is with or without the :port syntax, a priori unless you know the input stream.
Re:Potholes to avoid when migrating to IPv6
by IgorPartola on Tuesday January 01, 2019 @11:41AM
(#18800848)
So between your input and your parsing library you should put a bit of code to clean up the incoming data. Don’t create a library that processes incorrect data because at some point someone will absolutely try to use it to parse different input data and it will cause problems.