Skip to content

Commit 2a83c2e

Browse files
committed
ACP2E-381: Single Quotation Marks not accepted by form validation on customer account creation
1 parent 9b1016b commit 2a83c2e

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Customer/Model/Validator

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Model/Validator/Name.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
class Name extends AbstractValidator
1717
{
18-
private const PATTERN_NAME = '/(?:[\p{L}\p{M}\,\-\_\.\'\s\d]){1,255}+/u';
18+
private const PATTERN_NAME = '/(?:[\p{L}\p{M}\,\-\_\.\'\s\d]){1,255}+/u';
1919

2020
/**
2121
* Validate name fields.

0 commit comments

Comments
 (0)