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

Merged
merged 1 commit into from
Sep 25, 2024

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

@jasonvarga jasonvarga merged commit 5e7f3ca into 5.x Sep 25, 2024
19 checks passed
@jasonvarga jasonvarga deleted the allow-for-large-field-configs-in-filters branch September 25, 2024 20:30
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.

2 participants