Skip to content

PHP array warning in response.php #28832

@phil-davis

Description

@phil-davis

Steps to reproduce

  1. run limituploadbasedonsize.feature firewall test against current master
  2. examine data/owncloud.log

Expected behaviour

No PHP messages

Actual behaviour

This:

{"reqId":"Jwtuaff38pjoU0rHVRR5","level":3,"time":"2017-08-29T11:23:10+00:00","remoteAddr":"::1","user":"admin","app":"PHP","method":"PROPFIND","url":"\/remote.php\/dav\/files\/admin\/","message":"in_array() expects parameter 2 to be array, null given at \/home\/phil\/core\/lib\/private\/legacy\/response.php#294"}

Server configuration

Operating system:
Ubuntu 16.04
Web server:
PHP dev server
Database:
MySQL
PHP version:
7.0
ownCloud version: (see ownCloud admin page)
current master from git

seems to be the new code added in CORS stuff:
e3564e6
#28457

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions