mirror of
				https://github.com/crypto-pro-web/crypto-pro-php.git
				synced 2025-10-31 02:13:23 +03:00 
			
		
		
		
	Поправил флаг в preg_replace
This commit is contained in:
		
							parent
							
								
									e8a5bfa96c
								
							
						
					
					
						commit
						2090e5cbce
					
				| @ -84,7 +84,7 @@ class CertificateHelper | ||||
| 		$commonName   = null; | ||||
| 		if (preg_match('/CN="?(.+?)"?(?:,|$)/', $subjectName, $subjectMatch)) | ||||
| 		{ | ||||
| 			$commonName = preg_replace('/"{2}/g', '"', $subjectMatch[1]); | ||||
| 			$commonName = preg_replace('/"{2}/', '"', $subjectMatch[1]); | ||||
| 		} | ||||
| 
 | ||||
| 		return $commonName; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user