dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
845 stars 465 forks source link

Saving folder names with special characters leads to incorrect encoding #29392

Closed weiyiwang-dotcms closed 2 weeks ago

weiyiwang-dotcms commented 1 month ago

Parent Issue

No response

Problem Statement

When saving a folder with a name that contains letters with accents, the name will add some additional unexpected characters.

Steps to Reproduce

Create a docker container for v23.10.24 of dotCMS Create a folder with name containing an accented character. Example: Ârvore Save the folder After the initial save, there will be an additional hyphen after the accented character, and the accent above the A will change to à Subsequent saves will append more unexpected characters Screenshot 2024-07-30 at 9 32 25 AM

Acceptance Criteria

Have the accented character in folder names encode correctly

dotCMS Version

23.10.24 Also reproducible in QA master

Proposed Objective

Technical User Experience

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

https://dotcms.slack.com/archives/C01N0AU1NUC/p1721766791361909 https://dotcms.zendesk.com/agent/tickets/117346

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

weiyiwang-dotcms commented 1 month ago

May be related to this: https://github.com/dotCMS/core/issues/29093

weiyiwang-dotcms commented 1 month ago

In addition to the poor user experience of the incorrect encoding appearing on the front-end page for users, this also appears to be affecting SEO ranking, given that the encoded URLs keep changing.

erickgonzalez commented 1 week ago

Working as it should, special chars can be used in folder title/name.

Image

bryanboza commented 1 week ago

Unable to reproduce.

Tested on trunk // Docker // FF Image