lua-yaml
lua-yaml copied to clipboard
IP addresses are parsed as numbers, not as strings.
The library has a hard time parsing IP addresses as strings, and it parses them as numbers. For example the following YAML value:
host: 127.0.0.1
is being parsed as:
{
host = 127
}
While it should be interpreted as a string value, not an integer value. It should be:
{
host = "127.0.0.1"
}