When filter value contains an URL, remove filter breaks

Created on 15 May 2025, about 10 hours ago

Problem/Motivation

When an active exposed filter has a value that includes a colon (e.g., a full URL like https://api.example.com), the "clear filter" functionality breaks. The current code that handles removal of filter values splits the data-remove-selector string using split(':'), which incorrectly captures only the part before the colon (e.g., https), instead of the full value.

Steps to reproduce

  1. Add an exposed filter using Views Filters Summary.
  2. Select or input a value that contains a colon, such as a full URL (e.g., https://api.example.com).
  3. Click the "remove" or "clear" control for that filter.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇭🇺Hungary mxr576 Hungary

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024