-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Rippled do not return error for malformed inputs to optional parameters] (Version: [1.11.0-rc2]) #4543
Labels
Comments
Issue exists in account_tx |
Issue exists for transactions in noripple_check, binary in tx. |
intelliot
added
API Change
Good First Issue
Great issue for a new contributor
Will Need Documentation
labels
Jun 23, 2023
ckeshava
pushed a commit
to ckeshava/rippled
that referenced
this issue
Sep 22, 2023
…LF#4620) For the `account_tx` and `noripple_check` methods, perform input validation for optional parameters such as "binary", "forward", "strict", "transactions". Previously, when these parameters had invalid values (e.g. not a bool), no error would be returned. Now, it returns an `invalidParams` error. * This updates the behavior to match Clio (https://github.com/XRPLF/clio). * Since this is potentially a breaking change, it only applies to requests specifying api_version: 2. * Fix XRPLF#4543.
ckeshava
pushed a commit
to ckeshava/rippled
that referenced
this issue
Sep 25, 2023
…LF#4620) For the `account_tx` and `noripple_check` methods, perform input validation for optional parameters such as "binary", "forward", "strict", "transactions". Previously, when these parameters had invalid values (e.g. not a bool), no error would be returned. Now, it returns an `invalidParams` error. * This updates the behavior to match Clio (https://github.com/XRPLF/clio). * Since this is potentially a breaking change, it only applies to requests specifying api_version: 2. * Fix XRPLF#4543.
sophiax851
pushed a commit
to sophiax851/rippled
that referenced
this issue
Jun 12, 2024
…LF#4620) For the `account_tx` and `noripple_check` methods, perform input validation for optional parameters such as "binary", "forward", "strict", "transactions". Previously, when these parameters had invalid values (e.g. not a bool), no error would be returned. Now, it returns an `invalidParams` error. * This updates the behavior to match Clio (https://github.com/XRPLF/clio). * Since this is potentially a breaking change, it only applies to requests specifying api_version: 2. * Fix XRPLF#4543.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Issue Description
In most of the APIs, rippled do not validate inputs for optional parameters like binary, forward, strict etc.
Steps to Reproduce
Expected Result
invalidParams
errorActual Result
No error
Environment
Supporting Files
The text was updated successfully, but these errors were encountered: