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

Projections: Empty Query returns every content item #8232

Open
BenedekFarkas opened this issue Jul 1, 2019 · 2 comments · May be fixed by #8813
Open

Projections: Empty Query returns every content item #8232

BenedekFarkas opened this issue Jul 1, 2019 · 2 comments · May be fixed by #8813
Assignees

Comments

@BenedekFarkas
Copy link
Member

Which can pretty much kill a site or even a whole server, even if you don't have many content items, just some Layout (as in Orchard.Layouts) that renders the Query.

@BenedekFarkas BenedekFarkas added this to the Orchard 1.10.4 milestone Jul 1, 2019
@sebastienros
Copy link
Member

Add default paging? or prevent it?

@BenedekFarkas
Copy link
Member Author

I wouldn't return any results in this case to be on the safe side. I don't really see any usefulness in returning every content item in the system, especially that it could leak sensitive information (since e.g. Users are content items too).

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 a pull request may close this issue.

2 participants