add comment about validation in verify-field-link.ts

This commit is contained in:
Hazelnoot 2025-07-07 11:46:35 -04:00 committed by dakkar
parent e8c7134123
commit dc19b18112

View file

@ -12,6 +12,7 @@ export async function verifyFieldLinks(fields: Field[], profile_url: string, htt
const verified_links = [];
for (const field_url of fields) {
try {
// getHtml validates the input URL, so we can safely pass in untrusted values
const html = await httpRequestService.getHtml(field_url.value);
const doc = cheerio(html);