Skip to content

Commit 3bd058d

Browse files
author
SH
committed
ACME v2 hotfix 2
1 parent 35e2c83 commit 3bd058d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lescript.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ private function readPrivateKey($path)
266266

267267
private function parseFirstPemFromBody($body)
268268
{
269-
preg_match('~(-----BEGIN.*?END CERTIFICATE-----)~', $body, $matches);
269+
preg_match('~(-----BEGIN.*?END CERTIFICATE-----)~s', $body, $matches);
270270

271271
return $matches[1];
272272
}

0 commit comments

Comments
 (0)