mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
feat(developer): Add note about IFilenameValidator
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
@@ -103,6 +103,7 @@ Added APIs
|
||||
- ``OCP\AppFramework\Http\Attribute\OpenAPI::SCOPE_EX_APP`` attribute for scoping APIs only to be used by ExApps.
|
||||
- ``OCP\AppFramework\Http\Attribute\ExAppRequired`` attribute for restricting controller methods to be only accessible by ExApps.
|
||||
- ``OCP\Collaboration\Reference\IPublicReferenceProvider`` added for reference providers that support reference lookups from public shares.
|
||||
- ``OCP\Files\IFilenameValidator`` was added to allow storage independent filename validation.
|
||||
|
||||
Changed APIs
|
||||
^^^^^^^^^^^^
|
||||
@@ -140,5 +141,8 @@ Deprecated APIs
|
||||
Removed APIs
|
||||
^^^^^^^^^^^^
|
||||
|
||||
- ``OCP\Util::isValidFileName`` was deprecated in 8.1.0 and is now removed, use either ``OCP\Files\Storage\IStorage::verifyPath`` or the new ``OCP\Files\IFilenameValidator``.
|
||||
- ``OCP\Util::getForbiddenFileNameChars`` was removed, use either ``OCP\Files\Storage\IStorage::verifyPath`` or the new ``OCP\Files\IFilenameValidator`` for filename validation.
|
||||
|
||||
Removed events
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user