superseriousbusiness / gotosocial

Fast, fun, small ActivityPub server.
https://docs.gotosocial.org
GNU Affero General Public License v3.0
3.82k stars 331 forks source link

[bugfix] Be more lenient when parsing mastodown following.csv #3311

Closed tsmethurst closed 2 months ago

tsmethurst commented 2 months ago

Description

If this is a code change, please include a summary of what you've coded, and link to the issue(s) it closes/implements.

If this is a documentation change, please briefly describe what you've changed and why.

This pull request fixes a bug where GtS couldn't parse the most up-to-date version of the Mastodon following.csv due to being too strict about the format. The change relaxes the csv parsing a bit to allow parsing both old + new versions of the file.

Checklist

Please put an x inside each checkbox to indicate that you've read and followed it: [ ] -> [x]

If this is a documentation change, only the first checkbox must be filled (you can delete the others if you want).