Putting the $_POST data in $_GET creates enormous links when using Current Search block

Created on 18 November 2016, over 7 years ago
Updated 6 February 2024, 5 months ago

The $_POST array is merged into the $_GET array to make sure we don't get a HTTP 414 error. But because we modify the $_GET array other modules that create links based on the $_GET array receive way to much information. Attached patch clears the $_GET array from the keys added by this module.

✨ Feature request
Status

Needs review

Version

3.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands Johnny vd Laar

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΈπŸ‡°Slovakia gresko8

    For me this is happening after filtering the view with ajax facet when there are these obnoxious parameters in pager links.

    Attaching a patch that is compatible with patch #29 in facetapi pretty paths compatibility issue:
    https://www.drupal.org/project/ajax_facets/issues/2070427#comment-15429453 ✨ Support for Facet API Pretty Paths Needs review

Production build 0.69.0 2024