Details
-
Bug
-
Status: Done
-
Major
-
Resolution: Done
-
None
-
None
Description
We have very little unit test coverage around the Networking functions in Stellar at the edge level. When diving a bit deeper on real data, I found a number of bugs around:
- Domains with TLDs that are not part of the proper set of TLDs
- URIs with schemes that Java doesn't know about.
- IN_SUBNET takes multiple CIDRs, but only evaluates the first one.
Generally calling validate on these methods can be unsafe because they do not handle null arguments correctly.
Attachments
Issue Links
- links to