Validating an untrusted URL containing a long scheme and numerous hosts into a multi-host URL field, such as `PostgresDsn`, `MongoDsn`, `NatsDsn`, or custom types based on `MultiHostUrl`, can lead to a denial of service. The `parse multihost url()` function parses each host separately and prepends the entire URL prefix, including the scheme, to every host. Because the scheme can be arbitrarily long and is stored once per host, time and memory consumption grow quadratically relative to the input size. For example, an input of approximately one hundred kilobytes can consume around one gigabyte of memory during validation.