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

updating regex to handle chinese characters #610

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

manit815
Copy link

@manit815 manit815 commented Apr 3, 2023

At present, the current regex doesn't take care of when we are passing filenames having chinese characters.

The bug reproduction steps:
Take three files with names as "平行级_高速轴_中间_001.xml", "平行级_高速轴_叶片侧_001.xml", "平行级_高速轴_电机侧_001.xml" and perform an upload. The uniqueIdentifier was not getting generated, like below:

image

As a fix for this, we have started respecting chinese characters(unicode) in the regex.

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.

1 participant