Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

If use .array() together with .toUpper(), there is a possibility to break the back #27

Open
viktor32 opened this issue Oct 23, 2017 · 0 comments

Comments

@viktor32
Copy link

field("test").array().toUpper()

If to this request send {test: [null]}, server breaks down with exception TypeError: Cannot read property 'toString' of null

https://github.com/freewil/express-form/blob/master/lib/field.js#L182

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

No branches or pull requests

1 participant