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

text input fields need their size checked before writting to the DB #33

Open
woodsaj opened this issue Apr 4, 2016 · 0 comments
Open

Comments

@woodsaj
Copy link
Contributor

woodsaj commented Apr 4, 2016

Issue by woodsaj
Friday Mar 04, 2016 at 09:12 GMT
Originally opened as raintank/grafana#572


A users has tried to create a check that can post data by adding the request body to the "headers" setting.

The size of the body posted excedes the size of the SQL table column (2048 chars). The content of this column is encoded as JSON before being written, but because the columned was trimmed at 2048chars, the when read back the json cant be marshaled.

this check should have been rejected and never added to the DB due to the settings field being too large.

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

1 participant