Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: replace server encoded whitespace '+' with '%20' #1278

Merged
merged 1 commit into from
Sep 26, 2022

Conversation

Eisie96
Copy link
Contributor

@Eisie96 Eisie96 commented Sep 22, 2022

PR Type

[ x ] Bugfix

What Is the Current Behavior?

If a filter facet contains a whitespace, than the ICM will encode it to '+' with the application/x-www-form-urlencoded type. This is not compatible to the url encoding on browser side, which replace a whitespace with '%20'.

What Is the New Behavior?

Before the encoded string will be decoded on browser side, each '+' character in the string will be replaced with '%20'.

Does this PR Introduce a Breaking Change?

[ ] Yes
[ x ] No

Other Information

AB#79710

@shauke shauke added this to the 3.1 milestone Sep 26, 2022
@shauke shauke merged commit 4692947 into develop Sep 26, 2022
@shauke shauke deleted the bugfix/filter-with-withespace-as-value branch September 26, 2022 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants