oliver-zehentleitner / maity

hub: paging.uncursor rejects naive timestamps in a cursor (or reads them as UTC), for all routes

Sign in to report

tsk-vve8mbd2hh9x Proposed

paging.uncursor (hub/src/maity_hub/paging.py) accepts naive timestamps (without a timezone) in a cursor. 15+ routes share it.

Goal: a cursor with a naive timestamp is rejected as 400 invalid (like every other malformed cursor), or treated consistently as UTC. Decide which, check the effect on every route, and add a test.

Source: non-blocking note 4 of Google review A3015 on #2317 (tsk-xrn8967mbrtk). It already exists on main and is not caused by #2317. After the launch.