Skip to content

[Linux] trailing newline or carriage in filename are neither rejected nor handled correctly #6987

@jnweiger

Description

@jnweiger

owncloud-client 2.5.2rc1 on Linux mint happily uploads files with trailing newline 0x0a or carriage return 0x0d to the owncloud server. The server web ui handles them, and replaces them with an _ when requesting a download via web.
owncloud-client 2.5.2rc1 on windows fails with error messages.
A trailing carriage return causes "Access denied" (very misleading)
A trailing newline causes "The filename, directory name, or volume label syntax is incorrect"

image

Metadata

Metadata

Assignees

Labels

ReadyToTestQA, please validate the fix/enhancementtype:bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions