summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-04-18 17:13:31 +0200
committerdefault <nobody@localhost>2024-04-18 17:13:31 +0200
commit26840e0dc0e7322b2041c21b4e44ed9a34afff4b (patch)
tree096c8e9c65df453f5e45bfde8ca8662b9a82c899 /html.c
parent100c9cf569ef4497160ac60a55f5b94b9cb524bc (diff)
Some tweaks to previous patch.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index a251e21..d52ef03 100644
--- a/html.c
+++ b/html.c
@@ -813,7 +813,7 @@ static xs_html *html_user_body(snac *user, int read_only)
while (xs_dict_next(metadata, &k, &v, &c)) {
xs_html *value;
- if (xs_startswith(v, "http")) {
+ if (xs_startswith(v, "https:/") || xs_startswith(v, "http:/")) {
/* is this link validated? */
xs *verified_link = NULL;
xs_number *val_time = xs_dict_get(val_links, v);