Error when filter's value contains %

Created on 11 March 2025, 22 days ago

Problem/Motivation

Hi!
We have search API views page with exposed facet filters and enabled ajax.
There is one specific filter on indexed values with % symbol e.g. '12%', '12% / 13%', '13.5% - 14%' etc.
When the views_ajax_history is disabled, the filter works fine.
But when we have enabled the ajax history for this view, the filter can not be deselected due the error in pop-up:
An error occurred while attempting to process /views/ajax?_wrapper_format=drupal_ajax: URI malformed

Examples of the arguments in URL:
abv[12%]=12%25
abv[12%%20/%2013%]=12%25%20%2F%2013%25

I've not debugged yet.

Any suggestions how to fix it?

Thanks!

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine khiminrm

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