]> git.mxchange.org Git - friendica.git/commit
Sanitize negative followers count on APContact
authorRealKinetix <kinetix@isurf.ca>
Wed, 14 Jul 2021 17:15:19 +0000 (10:15 -0700)
committerRealKinetix <kinetix@isurf.ca>
Wed, 14 Jul 2021 17:15:19 +0000 (10:15 -0700)
commit2ebebe9abc7a92266de0a4ba817af531cd50c551
tree4cb555612048b99a1883ff18b4146183810330af
parentfd37a576784759dcfceb86be1937abd6d0c52497
Sanitize negative followers count on APContact

Please see
https://github.com/friendica/friendica/issues/9498#issuecomment-818894106
and related discussion regarding this - it appears it's possible for AP
users, maybe just Mastodon users, to have a negative followers count.
This causes fatal errors in Friendica, so I think we should sanitize
this input.
src/Model/APContact.php