From af2d1e6f1366fd3d52f41d0ed14cc4c445c1e98e Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 16 Mar 2026 08:48:23 +0100 Subject: [PATCH 1/2] build(deps): bump nextcloud/lognormalizer from 3.0.0 to 3.0.1 Signed-off-by: Joas Schilling --- composer.json | 2 +- composer.lock | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index fe063ac99..d374e8dee 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "mexitek/phpcolors": "^1.0", "microsoft/azure-storage-blob": "^1.5.4", "mlocati/ip-lib": "^1.22", - "nextcloud/lognormalizer": "^3.0.0", + "nextcloud/lognormalizer": "^3.0.1", "pear/archive_tar": "^1.4.9", "pear/pear-core-minimal": "^1.10", "php-http/guzzle7-adapter": "^1.1.0", diff --git a/composer.lock b/composer.lock index 61b19cee0..f2a6e5ffe 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ccb16eeca5b242e409af2accf0269116", + "content-hash": "0accaf4d81c4bc9397819cf6d14185c2", "packages": [ { "name": "aws/aws-crt-php", @@ -2187,16 +2187,16 @@ }, { "name": "nextcloud/lognormalizer", - "version": "v3.0.0", + "version": "v3.0.1", "source": { "type": "git", "url": "https://github.com/nextcloud/lognormalizer.git", - "reference": "9fbc308d900d0399298b0fa76123aa856e07ea1c" + "reference": "128aba2a22d6df0ec1a8c8eb071caadc1b0d992f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextcloud/lognormalizer/zipball/9fbc308d900d0399298b0fa76123aa856e07ea1c", - "reference": "9fbc308d900d0399298b0fa76123aa856e07ea1c", + "url": "https://api.github.com/repos/nextcloud/lognormalizer/zipball/128aba2a22d6df0ec1a8c8eb071caadc1b0d992f", + "reference": "128aba2a22d6df0ec1a8c8eb071caadc1b0d992f", "shasum": "" }, "require": { @@ -2207,7 +2207,7 @@ "nextcloud/coding-standard": "^1.4", "phpunit/phpunit": "^10.5", "symfony/polyfill-php85": "^1.33", - "vimeo/psalm": "^6.14" + "vimeo/psalm": "^6.15" }, "type": "library", "autoload": { @@ -2244,9 +2244,9 @@ ], "support": { "issues": "https://github.com/nextcloud/lognormalizer/issues", - "source": "https://github.com/nextcloud/lognormalizer/tree/v3.0.0" + "source": "https://github.com/nextcloud/lognormalizer/tree/v3.0.1" }, - "time": "2025-12-17T14:56:48+00:00" + "time": "2026-03-12T13:59:12+00:00" }, { "name": "paragonie/constant_time_encoding", From 179f20a85e6edb330427639954e3335e8dda52c9 Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Mon, 16 Mar 2026 07:50:32 +0000 Subject: [PATCH 2/2] chore(autoloader): Dump autoloader Signed-off-by: nextcloud-command --- composer/installed.json | 16 ++++++++-------- composer/installed.php | 6 +++--- nextcloud/lognormalizer/src/Normalizer.php | 3 +++ 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/composer/installed.json b/composer/installed.json index 904a51b91..19e3e1347 100644 --- a/composer/installed.json +++ b/composer/installed.json @@ -2277,17 +2277,17 @@ }, { "name": "nextcloud/lognormalizer", - "version": "v3.0.0", - "version_normalized": "3.0.0.0", + "version": "v3.0.1", + "version_normalized": "3.0.1.0", "source": { "type": "git", "url": "https://github.com/nextcloud/lognormalizer.git", - "reference": "9fbc308d900d0399298b0fa76123aa856e07ea1c" + "reference": "128aba2a22d6df0ec1a8c8eb071caadc1b0d992f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextcloud/lognormalizer/zipball/9fbc308d900d0399298b0fa76123aa856e07ea1c", - "reference": "9fbc308d900d0399298b0fa76123aa856e07ea1c", + "url": "https://api.github.com/repos/nextcloud/lognormalizer/zipball/128aba2a22d6df0ec1a8c8eb071caadc1b0d992f", + "reference": "128aba2a22d6df0ec1a8c8eb071caadc1b0d992f", "shasum": "" }, "require": { @@ -2298,9 +2298,9 @@ "nextcloud/coding-standard": "^1.4", "phpunit/phpunit": "^10.5", "symfony/polyfill-php85": "^1.33", - "vimeo/psalm": "^6.14" + "vimeo/psalm": "^6.15" }, - "time": "2025-12-17T14:56:48+00:00", + "time": "2026-03-12T13:59:12+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -2337,7 +2337,7 @@ ], "support": { "issues": "https://github.com/nextcloud/lognormalizer/issues", - "source": "https://github.com/nextcloud/lognormalizer/tree/v3.0.0" + "source": "https://github.com/nextcloud/lognormalizer/tree/v3.0.1" }, "install-path": "../nextcloud/lognormalizer" }, diff --git a/composer/installed.php b/composer/installed.php index 975faab34..3703ad268 100644 --- a/composer/installed.php +++ b/composer/installed.php @@ -308,9 +308,9 @@ 'dev_requirement' => false, ), 'nextcloud/lognormalizer' => array( - 'pretty_version' => 'v3.0.0', - 'version' => '3.0.0.0', - 'reference' => '9fbc308d900d0399298b0fa76123aa856e07ea1c', + 'pretty_version' => 'v3.0.1', + 'version' => '3.0.1.0', + 'reference' => '128aba2a22d6df0ec1a8c8eb071caadc1b0d992f', 'type' => 'library', 'install_path' => __DIR__ . '/../nextcloud/lognormalizer', 'aliases' => array(), diff --git a/nextcloud/lognormalizer/src/Normalizer.php b/nextcloud/lognormalizer/src/Normalizer.php index 22db4f85c..c960a119b 100644 --- a/nextcloud/lognormalizer/src/Normalizer.php +++ b/nextcloud/lognormalizer/src/Normalizer.php @@ -104,6 +104,9 @@ public function convertToString(mixed $data): ?string { $data = @json_encode($data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_PARTIAL_OUTPUT_ON_ERROR); // Removing null byte and double slashes from object properties $data = str_replace(['\\u0000', '\\\\'], ['', '\\'], $data); + } else { + // Removing null byte from strings + $data = str_replace("\x00", '', $data); } return $data;