aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorcodl <[email protected]>2019-04-15 03:23:04 +0200
committercodl <[email protected]>2019-04-15 03:31:09 +0200
commitad96297a0608bfd5196598cc3bbcce1f4aa03bc9 (patch)
treef5a509461ab2692b0a1bddc95cb498963a8b7ebb /tests
parent8b8626978752baf14347498640b2319db832145e (diff)
downloadmastodon.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')
0 files changed, 0 insertions, 0 deletions
Powered by cgit v1.2.3 (git 2.41.0)