Skip to content

Adapt Forbidden Exception's "s:message" on blacklisted files #30136

@SamuAlfageme

Description

@SamuAlfageme

When trying to upload .htaccess files; which the server does not support (since they're part of blacklisted_files in the capabilities https://github.com/owncloud/core/blob/v10.0.4/apps/files/lib/Capabilities.php#L62).

Client version 2.4 removed .htaccess from its fixed exclusion list (owncloud/client#5748); users might still manually add those there (and maybe client should have different exclusion lists for each capabilities' blacklisted_files from the servers it is connected to).

But still, server should not reply 507 "Insufficient Storage" upon blacklisted_files upload. A 4XX error with a more user-friendly message (#29948) would be handy.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions