Skip to content

Security hole#5

Open
alexspeller wants to merge 1 commit into
dadooda:masterfrom
alexspeller:master
Open

Security hole#5
alexspeller wants to merge 1 commit into
dadooda:masterfrom
alexspeller:master

Conversation

@alexspeller
Copy link
Copy Markdown

Your example in the readme has a security hole, you can specify any sort order and therefore run arbitrary SQL.

This approach is safer, might be better with DSL support e.g.

handles_sortable_columns 'name', 'product'

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

Successfully merging this pull request may close these issues.

1 participant