Skip to content

Fail earlier when float timestamp passed with OC-MTime #27437

@PVince81

Description

@PVince81

Ref: owncloud/pyocclient#190

Basically do a Webdav PUT and set a float value for the OC-MTime header.

Expected result: eithter ownCloud discards the float part or fails earlier.

Actual result: mtime is passed through to the database and fails during INSERT, which is too late.

I didn't try it but maybe if you pass a string it will also fail at the DB level.

See linked ticket for an exception message.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions