Skip to content

Commit

Permalink
Исправлено поведение разбора информации о сертификате #11 (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
kernusr authored Aug 6, 2024
1 parent 9b143e9 commit b12c7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/CertificateHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static function parseCertInfo($dictionary, string $rawInfo)
$extractedEntities = [];

preg_match_all(
'/([\w0-9\s.]+)=(?:("[^"]+?")|(.+?))(?:,|$)/',
'/([a-zа-я0-9\s.]+)=(?:("[^"]+?")|(.+?))(?:,|$)/i',
$rawInfo,
$extractedEntities,
PREG_SET_ORDER,
Expand Down

0 comments on commit b12c7dc

Please sign in to comment.