zend-db
zend-db copied to clipboard
UTF8 should be supported in regex
https://github.com/zendframework/zend-db/blob/master/src/Adapter/Platform/AbstractPlatform.php line 44
$parts = preg_split(
'/([^0-9,a-z,A-Z$_:])/i',
$identifier,
-1,
PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY
);
I run into problem because pattern '/([^0-9,a-z,A-Z$_:])/i', doesn't support utf8.
I think pattern modifier 'u' should be added. '/([^0-9,a-z,A-Z$_:])/iu'
This repository has been closed and moved to laminas/laminas-db; a new issue has been opened at https://github.com/laminas/laminas-db/issues/61.