Skip to content
This repository has been archived by the owner on Mar 29, 2019. It is now read-only.

Limit related entities #22

Open
paultag opened this issue Jul 29, 2014 · 2 comments
Open

Limit related entities #22

paultag opened this issue Jul 29, 2014 · 2 comments

Comments

@paultag
Copy link
Contributor

paultag commented Jul 29, 2014

I get the gut feeling we can DoS / avoid pagination limits by hitting a related field on an object detail / list view.

We should limit the number of elements we return on related entities.

(I'm thinking jurisdiction.events or something, not in particular, but to give an example of the route you can use)

@jamesturk
Copy link
Member

I think this is solved now? I can't seem to request things like events through jurisdiction because it throws the FieldKeyError "You've asked for a field () that is invalid..."

@dcloud
Copy link
Contributor

dcloud commented Apr 23, 2015

Maybe an overridable default of 500 said @paultag a moment ago.

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

No branches or pull requests

3 participants