

1·
16 hours agodeleted by creator
I’m the developer of the Photon client. Try it out
deleted by creator
Well the IPv4 spec only allows 4 octets, so having 5 or more is impossible. We could fix it by changing the protocol, but at that point it’s more worth it to just migrate to IPv6.
As in a regex or …?
An ipv4 parser would also be sorta difficult.
you have to account for the fact that all the octets can be added to decimal: http://2130706433 (valid 127.0.0.1)
or the fact that octets can be in different formats: http://0x7F.0x0.0x0.0x1 (127.0.0.1)
or the fact that you can mix octet formats: http://0xC0.0250.0.1 (192.168.0.1)
FOSS = Free and Open Source Software. Open source means the source code of a program is available for anyone to view, and free (as in freedom) means the community can contribute to it (this is an oversimplification). FOSS software, like Lemmy, is not owned by a company and as such the software is (usually) developed for the benefit of everything rather than for maximum profit.