Skip to content

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

@woodsaj

Description

@woodsaj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions