Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7k
Do not list related field choices in OPTIONS requests.#4021
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Do not list related field choices in OPTIONS requests.#4021
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…tadata.Listing related fields can leak sensitive data and result in poor performancewhen dealing with large result sets.Large result sets should be exposed by a dedicated endpoint instead.
69c69b8 toa6732e2Comparexordoquy commentedMar 29, 2016
I'm tempted to move this through the deprecation path. |
charettes commentedMar 29, 2016
I have deprecation path in mind, I'll submit it in a few moment. |
xordoquy commentedMar 29, 2016
Thanks ! |
lovelydinosaur commentedMar 30, 2016
I'd probably be okay with us simply dropping this in a median version, so long as we call it out. |
craigds commentedApr 22, 2016
Could this be merged? This fixes#3751 which is a security (and major performance) issue so seems important to get it in. |
lovelydinosaur commentedJun 1, 2016
Great stuff, thank you! |
silviogutierrez commentedJun 8, 2016
Hey guys, Fantastic library and great work overall. For those that actuallydo use this feature, will there be an opt-in workaround[1]? I looked at the merge commit and it seems like a blanket check for all related fields. It's pretty convenient to build a form off a single OPTIONS request. Thanks for all your work, Silvio [1]: Mandatory:https://xkcd.com/1172/ |
lovelydinosaur commentedJun 8, 2016
You'd need to use a custom metadata class, overriding |
wimglenn commentedSep 12, 2016
Related example of overriding |
Listing related fields can leak sensitive data and result in poor performance
when dealing with large result sets.
Large result sets should be exposed by a dedicated endpoint instead.