Skip to content
This repository was archived by the owner on Oct 26, 2019. It is now read-only.
This repository was archived by the owner on Oct 26, 2019. It is now read-only.

External sites - use of custom icons causes a security warning #20

@j-ed

Description

@j-ed

Affected apps

The external sites app

Expected behaviour

The external sites app shouldn't cause a security warning when custom icons have been copied to the ./apps/external/img directory and have been assigned to external site links. Additional icons in that directory should be excluded from the security check or the app should be extended to load icons from a different location which is not checked by the security function.

2016-12-11 11_19_26-administration - nextcloud

Actual behaviour

The external sites app causes a security warning when custom icons are copied to the ./apps/external/img directory and assigned to an external site link.

Steps to reproduce

  1. Copy a new icon file to the directory ./apps/external/img
  2. Open Administration -> Additional settings -> External sites
  3. Assign a new icon to an external site link.
  4. Install a new app etc. so that a complete security check is forced. (unfortunately I don't know if it's possible to force a check from the command line.
  5. A security warning is shown because an unknown file was found in the directory:

2016-12-12 20_09_23-mozilla firefox

Server configuration

Operating system: Linux 3.2.82
Web server: Apache2 2.4.23
Database: MariaDB 5.5.53
PHP version: 5.6.23
Nextcloud version: 10.0.2

Client configuration

Browser: Firefox 50.0.2
Operating system: Windows 7

Logs

No errors have been logged

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions