Skip to content

Homepage verification inconsistent? #12507

@SpcCw

Description

@SpcCw

Some links don't seem to pass verification procedure and checkmark doesn't appear.

Test profile:
https://friends.deko.cloud/profile/bot

Link examples:
https://social.deko.cloud/test.html - passes verification
https://lor.sh/@shuro - doesn't pass verification

When the second link is set in the profile the following is registered in the log:

2022-12-22T16:42:31Z worker [INFO]: Process start. {"priority":30,"id":61906637,"worker_id":"0677fea","worker_cmd":"CheckRelMeProfileLink"} - {"file":"Worker.php","line":554,"function":"execFunction","uid":"cf1176","process_id":1321120}
2022-12-22T16:42:31Z worker [NOTICE]: Verifying the homepage {"uid":2,"worker_id":"0677fea","worker_cmd":"CheckRelMeProfileLink"} - {"file":"CheckRelMeProfileLink.php","line":57,"function":"execute","uid":"cf1176","process_id":1321120}
2022-12-22T16:42:31Z worker [NOTICE]: Homepage URL could not be verified {"uid":2,"owner homepage":"https://lor.sh/@shuro","worker_id":"0677fea","worker_cmd":"CheckRelMeProfileLink"} - {"file":"CheckRelMeProfileLink.php","line":88,"function":"execute","uid":"cf1176","process_id":1321120}
2022-12-22T16:42:31Z worker [INFO]: ID 61906637: CheckRelMeProfileLink {"action":"profiling","database_read":0,"database_write":0,"cache_read":0,"cache_write":0,"network_io":0,"file_io":0,"other_io":0.17,"total":0.17} - {"file":"Worker.php","line":627,"function":"execFunction","uid":"cf1176","process_id":1321120}
2022-12-22T16:42:31Z worker [INFO]: ID 61906637: CheckRelMeProfileLink:  {"action":"profiling"} - {"file":"Worker.php","line":627,"function":"execFunction","uid":"cf1176","process_id":1321120}

However if I curl links they seem to be okay except minor syntax differences:

curl https://social.deko.cloud/test.html | grep bot
<a href="https://friends.deko.cloud/profile/bot" rel="me">test</a>
100<link href='https://friends.deko.cloud/profile/bot' rel='me' type='text/html'>

Another example with another profile and link:

curl  https://ro.gravatar.com/cata195  | grep libra
<a class="profile-link" href="https://libranet.de/profile/petrescatraian" target="_blank" rel="me nofollow noopener">libranet.de/profile/petrescatraian</a>

Metadata

Metadata

Assignees

Labels

BugJunior JobsThese are issues we think are good for starting to work with the Friendica code base

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions