Corrupted query string

Created on 21 March 2023, about 2 years 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.71.5 2024