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: wishlist and order templates title with special characters not displayed correct #1658

Merged
merged 1 commit into from
May 15, 2024

Conversation

shauke
Copy link
Collaborator

@shauke shauke commented May 15, 2024

PR Type

[x] Bugfix

What Is the Current Behavior?

Wishlist and order templates titles with special characters (e.g. ä,ö,ü) are not displayed correct.
This is a result of PR #1551 that sanitizes potentially dangerous wishlist/order template titles coming from the REST API.

What Is the New Behavior?

The changes from #1551 where reverted to correctly display wishlist/order template titles.
The danger from self given titles for wishlists/order templates seems low compared to the strange rendering of special characters.
To prevent the only known place where possibly dangerous code is evaluated the ishHtmlEncode pipe is used.

Does this PR Introduce a Breaking Change?

[x] No

Other Information

AB#96600

@shauke shauke self-assigned this May 15, 2024
@shauke shauke added this to the 5.2 milestone May 15, 2024
@shauke shauke requested a review from SGrueber May 15, 2024 09:15
@shauke shauke added the bug Something isn't working label May 15, 2024
@shauke shauke force-pushed the bugfix/special_characters_in_wishlist_title branch from 46e9f43 to ce0c5ba Compare May 15, 2024 09:40
@shauke shauke merged commit 42864a7 into develop May 15, 2024
22 checks passed
@shauke shauke deleted the bugfix/special_characters_in_wishlist_title branch May 15, 2024 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants