Skip to content

Bounties list accepts invalid pagination ranges #289

@sevencat2004

Description

@sevencat2004

The public GET /api/bounties endpoint parses limit and page with Number coercion and only caps the upper limit.\n\nExamples:\n- limit=0 produces .range(0, -1).\n- a negative limit can produce an inverted range.\n- a negative page can make the offset negative.\n\nThe endpoint should fall back to a positive default limit, preserve the existing max limit of 100, and fall back to page 1 for invalid or non-positive page values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions