api-manager
api-manager copied to clipboard
[Admin Portal] Allows Negative Values in Rate Limiting Policies
Description
In the WSO2 API Manager Admin Portal, when adding a new Advanced Rate Limiting Policy, Application Rate Limiting Policy, or Subscription Rate Limiting Policy, users are able to enter negative values for several fields, including:
- Request count
- Time (only for Advanced Rate Limiting Policy)
- Request rate
- Other numerical input fields
Steps to Reproduce
- Log in to the Admin Portal.
- Create a new Advanced Rate Limiting Policy, Application Rate Limiting Policy, or Subscription Rate Limiting Policy with negative values.
https://github.com/user-attachments/assets/dff5dd33-204d-47bc-a157-4780e9702968
Version
4.5.0
Environment Details (with versions)
No response
Created the following PRs : UI fix : https://github.com/wso2/apim-apps/pull/1003 Backend Fix : https://github.com/wso2/carbon-apimgt/pull/13059