Corrupted query string

Created on 21 March 2023, over 1 year ago

Problem/Motivation

The query string in the link is broken : the % character of the percent encoded %5B "[" and %5D "]" is encoded %25
For example, the original query string

string field_srelation_type_target_id_selective%5B0%5D=884

is rendered

field_srelation_type_target_id_selective%255B0%255D=884

Steps to reproduce

Save a views page featuring some filters

Proposed resolution

in function favorites_add_favorite_form($form, &$form_state)
add this:
$query = drupal_http_build_query($_GET);
+ $query = urldecode($query);
// Add a collapsible container.
$form = array(

πŸ› Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡«πŸ‡·France jvieille

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

Comments & Activities

Production build 0.69.0 2024