Skip to content

Commit

Permalink
Update README.md to include warning about RCE
Browse files Browse the repository at this point in the history
  • Loading branch information
Walter Carvalho committed Aug 17, 2020
1 parent b4945c6 commit ce4f0db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ end

IO.puts "total count: #{metadata.total_count}"
```
## Security Considerations

`Repo.paginate/4 will throw an ArgumentError should it detect an executable term in the cursor parameters passed to it (`before`, `after`).
This is done to protect you from potential side-effects of malicious user input, see [paginator_test.exs](https://github.com/duffelhq/paginator/blob/master/test/paginator_test.exs#L820).

## Indexes

Expand Down

0 comments on commit ce4f0db

Please sign in to comment.