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

Order and group parameters in generic GET #58

Open
kasp1 opened this issue Apr 15, 2017 · 0 comments
Open

Order and group parameters in generic GET #58

kasp1 opened this issue Apr 15, 2017 · 0 comments

Comments

@kasp1
Copy link

kasp1 commented Apr 15, 2017

The order and group parameters in generic GET handler are probably literally added to the SQL statements, which potentially allows SQL injection.

Sequelize docs: http://docs.sequelizejs.com/en/latest/docs/querying/#ordering

Perhaps we should check the parameter value here: https://github.com/apiko-rest-api/apiko/blob/master/src/generic/get.js#L37-L43

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

No branches or pull requests

1 participant