From 94308fee16907c76e1f5ccd76785d8485ee0ecf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Thu, 21 May 2026 11:20:47 +0200 Subject: [PATCH] fix: Fix critical changes list format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- developer_manual/release_notes/critical_changes.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/developer_manual/release_notes/critical_changes.rst b/developer_manual/release_notes/critical_changes.rst index ccd55f5307b..e6c56bfad29 100644 --- a/developer_manual/release_notes/critical_changes.rst +++ b/developer_manual/release_notes/critical_changes.rst @@ -54,6 +54,7 @@ Removed back-end APIs - ``\OCP\Share_Backend``, ``\OCP\Share_Backend_Collection``, ``\OCP\Share_Backend_File_Dependent`` were removed. This old share backend was replaced in Nextcloud 9 with a new backend system based on ``IShareProvider``. - All these methods were deprecated since before Nextcloud 20 and were removed: + - ``\OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowEvalScript`` - ``\OCP\AppFramework\Http\EmptyContentSecurityPolicy::addAllowedChildSrcDomain`` - ``\OCP\AppFramework\Http\EmptyContentSecurityPolicy::disallowChildSrcDomain`` @@ -61,10 +62,12 @@ Removed back-end APIs - ``\OCP\Notification\IManager::registerNotifier`` - ``\OCP\Util::recursiveArraySearch`` - All these classes were deprecated since before Nextcloud 20 and were removed: + - ``\OCP\AppFramework\Http\StrictContentSecurityPolicy`` - ``\OCP\AppFramework\Http\StrictEvalContentSecurityPolicy`` - ``\OCP\AppFramework\Http\StrictInlineContentSecurityPolicy`` -- Various methods from the legacy ``OC_Util`` static class were removed. +- Various methods from the legacy ``OC_Util`` static class were removed: + - Instead of ``\OC_Util::encodePath`` use ``\OCP\Util::encodePath``. - Instead of ``\OC_Util::sanitizeHTML`` use ``\OCP\Util::sanitizeHTML`` - Instead of ``\OC_Util::redirectToDefaultPage`` and ``\OC_Util::getDefaultPageUrl`` use ``\OCP\IUrlGenerator::linkToDefaultPageUrl``