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

Improve name validation #13574

Merged

Conversation

eternoendless
Copy link
Member

@eternoendless eternoendless commented Apr 25, 2019

Questions Answers
Branch? 1.6.1.x
Description? Backport of #13567
Type? bug fix
Category? CO
BC breaks? no
Deprecations? no
Fixed ticket? n/a
How to test? Verified by unit tests

This change is Reviewable

- The following characters are no longer accepted: \ ` ^ *
- The characters . and 。 are not allowed unless they are directly followed by a space or the end of the string
- Everything's done in a single, hideous regex
@eternoendless eternoendless added this to the 1.6.1.24 milestone Apr 25, 2019
@prestonBot prestonBot added 1.6.1.x Bug Type: Bug labels Apr 25, 2019
@matks matks added the Waiting for QA Status: action required, waiting for test feedback label Apr 25, 2019
@marionf marionf added QA ✔️ Status: check done, code approved and removed Waiting for QA Status: action required, waiting for test feedback labels Apr 26, 2019
@eternoendless
Copy link
Member Author

Thanks guys

@eternoendless eternoendless merged commit ab72f95 into PrestaShop:1.6.1.x Apr 26, 2019
@eternoendless eternoendless deleted the improve-validation-16 branch April 26, 2019 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Type: Bug QA ✔️ Status: check done, code approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants