Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add getForbiddenFilenames to \OCP\Util and unify filename sanitizing #45151

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Jul 5, 2024

  1. feat: Add IFilenameValidator to have one consistent place for filen…

    …ame validation
    
    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    9c1fefc View commit details
    Browse the repository at this point in the history
  2. chore: Migrate all filename validation to FilenameValidator

    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    f205524 View commit details
    Browse the repository at this point in the history
  3. fix: Do not leak data directory in exception (security)

    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    a8b4c85 View commit details
    Browse the repository at this point in the history
  4. chore!: Deprecate old filename validation options in favor of IFilena…

    …meValidator
    
    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    d41f356 View commit details
    Browse the repository at this point in the history
  5. feat: Add new forbidden filename options to JS config for frontend va…

    …lidation
    
    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    9bf7f3e View commit details
    Browse the repository at this point in the history
  6. chore(files): Move to @nextcloud/files functions for filename sanit…

    …izing
    
    Signed-off-by: Ferdinand Thiessen <[email protected]>
    susnux committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    a5817ca View commit details
    Browse the repository at this point in the history