Skip to content

Redirect condition in PaginatedJsonRequesterHandler is always true #49

Description

@SeanTAllen

`paginated_list.pony:236` has:

elseif (_status != 301) or (_status != 307) then

This is always true — for any value of `_status`, at least one of the two comparisons will be true. It should be `and`:

elseif (_status != 301) and (_status != 307) then

The same bug existed in `http_get.pony:108` (noted in CLAUDE.md). The new search pagination code in the `search-pagination` branch already uses the correct `and` logic.

Activity

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

    discuss during syncShould be discussed during an upcoming sync

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions