Skip to content

Commit

Permalink
Merge pull request #12029 from nextcloud/developer/filename-validation
Browse files Browse the repository at this point in the history
feat(developer): Add note about `IFilenameValidator`
  • Loading branch information
susnux authored Jul 18, 2024
2 parents 07e633f + e7d891b commit 09988a7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
^^^^^^^^^^^^
Expand Down Expand Up @@ -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
^^^^^^^^^^^^^^

0 comments on commit 09988a7

Please sign in to comment.