Skip to content

Follow-up from #2338: pr threads cursor charset rejects base64 '+' and '/', stopping pagination early #242

Open

Description

@oxa-agent

From the exact-head review of oxstack/ox-llm#2338 (head 96bef23734e1293001b2b13ffb1cf3d99d638bbd), P3.

oxa/oxa-cli/src/pr_threads_cmd.rs:123: cursor() allows only alphanumerics, _, =, -. GitHub pagination cursors are base64 and can contain + or /. A PR with more than 100 threads whose endCursor contains either is marked incomplete (a pagination cursor this reader cannot use) after page 1 even though page 2 was readable — honestly reported, but tighter than the documented two-page bound.

The value travels as one -f after=... argv element and a GraphQL String variable, so it can never read as a flag or a path; widening the charset to the full base64 alphabet is safe. Test: a page-1 cursor containing + and / fetches page 2.

Activity

  1. transferred this issue fromon Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions