Skip to content
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

JSON parameters are missed when error is caused #88

Open
michael1026 opened this issue Sep 24, 2023 · 1 comment
Open

JSON parameters are missed when error is caused #88

michael1026 opened this issue Sep 24, 2023 · 1 comment

Comments

@michael1026
Copy link

Hello,

I noticed param-miner caused an error when it sent a request containing a valid parameter name in JSON, but didn't report it. The request was something like...

{"username":{"abc":"abc"}}

Which caused an error since username is supposed to be a string. Though, if you try {"username":"wrtqva"}, no error is caused (same response as an invalid parameter), so the parameter isn't reported. I only noticed the error by going through Logger and seeing the different responses.

@albinowax
Copy link
Contributor

Interesting. Given a request containing {"username":"foo"}, I wouldn't expect Param Miner to send a request like {"username":{"abc":"abc"}}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants