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

Limit the size of count parameters #5

Open
diegorocha opened this issue Jul 15, 2015 · 1 comment
Open

Limit the size of count parameters #5

diegorocha opened this issue Jul 15, 2015 · 1 comment

Comments

@diegorocha
Copy link

Hi,

It's more a suggestion than a bug.

When a user pass a higher value to the count parameter the application crashes causing a 502 error, like this http://quickjson.com/generate/10c110fbba64?count=2000

I think that it occurs in the routine to generate the random values to json, maybe you should generate a small size, 300 itens, 500 itens, and complete the count with the same values, or ignore high values and use a max count built-in.

PS: It's a great and useful tool!

@fabiocerqueira
Copy link

I think this a security issue, because is easy to overload the server with a simple parameter in URL. I suggest remove this issue and treat it through email.

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

No branches or pull requests

2 participants