Files
payload/packages
Kendell 30fc7e3012 fix: check hostname of upload url (#13018)
Adds:
```ts
import { lookup } from 'dns/promises'
// ...
const { address } = await lookup(hostname)
// ...
return isSafeIp(address)
```

To ensure that an `ip` address is being verified. Previously, hostnames
were being verified by `isSafeIp`.


Fixes: https://github.com/payloadcms/payload/issues/12876
2025-07-03 10:50:31 -04:00
..
2025-07-03 09:23:23 -04:00
2025-07-03 09:23:23 -04:00
2025-07-03 09:23:23 -04:00
2025-07-03 09:23:23 -04:00