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 893a192 commit 83aec31
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 [TODO: Add link to relevant paginator_test.exs].

## Indexes

Expand Down

0 comments on commit 83aec31

Please sign in to comment.