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

[5.x] Allow for large field configs in filters #10822

Open
wants to merge 1 commit into
base: 5.x
Choose a base branch
from

Conversation

duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented Sep 20, 2024

This pull request fixes an issue with filters, where a config field (usually a Select field with lots of options) could cause a request to go over the server's max headers size.

This can be easily resolved by sending the encryped field config in a POST request, rather than a GET request, since POST requests can handle larger payloads.

I've kept the GET version of the field-meta endpoint for now, as it's being used in third-party addons (example).

For easier testing, here's a filter with lots of select options: https://gist.github.com/duncanmcclean/171e55a861273d111c6ca037d8650aad

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 this pull request may close these issues.

1 participant