diff options
author | codl <[email protected]> | 2019-04-15 03:23:04 +0200 |
---|---|---|
committer | codl <[email protected]> | 2019-04-15 03:31:09 +0200 |
commit | ad96297a0608bfd5196598cc3bbcce1f4aa03bc9 (patch) | |
tree | f5a509461ab2692b0a1bddc95cb498963a8b7ebb /tests/cassettes/test_account_pin_unpin.yaml | |
parent | 8b8626978752baf14347498640b2319db832145e (diff) | |
download | mastodon.py-ad96297a0608bfd5196598cc3bbcce1f4aa03bc9.tar.gz |
more robust handling of pagination Link headers
during a cursory investigation for #163 I found that the code handling
Link headers would not handle non-numeric post IDs like pleroma's
flakeIDs correctly
IDs starting with a number would be truncated to the first non-digit,
and IDs not starting with a number would throw. Thankfully, all flakeIDs
generated so far start with 9. Maybe 8 for the earliest ones, I'm not
sure. Either way, so far it would only have misbehaved when using the
pagination functions or accessing the _pagination_prev and
_pagination_next attributes directly
Diffstat (limited to 'tests/cassettes/test_account_pin_unpin.yaml')
0 files changed, 0 insertions, 0 deletions