-
-
Notifications
You must be signed in to change notification settings - Fork 230
Closed
Description
Regular expression for creating optimized JSON form rules (for data-rules attr) fails when there are escaped unicode character sequences (it should take into account only escaped quote character).
// this one fails (FormControl.php; line 387):
$rules = preg_replace('#"([^\\\\"\']*)"#i', "'$1'", $rules);
Is there any reason to replace double quotes for single quotes, anyway??
Metadata
Metadata
Assignees
Labels
No labels