Skip to content

Commit cd5a55a

Browse files
committed
Better logs retrieval
1 parent 9b57624 commit cd5a55a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "polkovnik-z/php-docker-client",
3-
"version": "1.41.10",
3+
"version": "1.41.11",
44
"description": "Docker APIs driver for PHP.",
55
"homepage": "https://gtihub.com/ibragim64/php-docker-client",
66
"type": "library",

src/DockerClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public function getContainerLogs($id, $level = 'all')
283283
$response = $this->request('GET', $endpoint, [], false);
284284

285285
$text = $response->getBody()->getContents();
286-
$text = preg_replace('/(?!\n)[\p{Cc}]/', '', $text);
286+
$text = urldecode($text);
287287

288288
return $text;
289289
} catch (GuzzleException $e) {

0 commit comments

Comments
 (0)