Skip to content

Disable large values for the limit query #11

Description

@ayaanqui

The limit query on /products can accept any numeric value for the limit query. This can lead to crashes as it can be called with a very large value and this significantly slow or even crash the server. See:

@Query('limit') limit: number = 50,

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions