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: improve the new file/folder name validator (#156) #162

Merged
merged 3 commits into from
Mar 23, 2023

Conversation

boyce-w
Copy link
Contributor

@boyce-w boyce-w commented Mar 13, 2023

Summary
Fix #156
I noticed that the folder service does not check the special characters so I changed the folder name validator to only check the max length. If the name is more than 100 characters, there would be a new error message.
And change the validator for the new file name to allow Chinese characters (as well as other languages)

Testing
Test case in #156

@boyce-w boyce-w requested review from scottdover and scnwwu March 13, 2023 05:47
@boyce-w boyce-w self-assigned this Mar 13, 2023
@Zhirong2022 Zhirong2022 added the testing Test the pull requests label Mar 16, 2023
@Zhirong2022 Zhirong2022 added testing-complete Complete the pull requests testing and removed testing Test the pull requests labels Mar 20, 2023
@boyce-w boyce-w merged commit 26339ae into sassoftware:main Mar 23, 2023
@boyce-w boyce-w deleted the #156-new-folder branch March 23, 2023 05:48
@Zhirong2022 Zhirong2022 added verified and removed testing-complete Complete the pull requests testing labels Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

It failed to add a new file if the file name having Chinese characters
5 participants