isProbablyMastodonLink gets lots of false positives #10
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: MapComplete/MastodonBot#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This function in
Mastodon.ts
falsely detects a lot of links as Mastodon user profiles because after matching against a positive and a negative list everythin else ist reported as a user profile. This could be done a bit more elegant by interpreting the url schema instead of looking for fixed substrings.I will provide a pull request shortly.
Meanwhile I noticed that Pleroma and Pixelfed both use a URL scheme that's not as unique as Mastodon's and Friendica's:
Adding this will lead to some false positives again.
Yeah, IMHO the correct way is to request a well-known file on such a server to sniff the software it is running... I'm not opposed to solution, just don't have the time to implement it.
That would lead to lots of needless requests. I think the best way would be to do both, so:
I can look into ways to implement this.