Skip to content

ownCloud should not respond 40x for Google Drive files without an extension #37044

@curiousercreative

Description

@curiousercreative

Steps to reproduce

  1. In Google Drive, upload any file without an extension ("table_of_contents" from an mbox folder for example)
  2. Add a Google Drive external storage
  3. Within ownCloud web UI, navigate to Google Drive external storage and find the file without an extension
    AR: note the filename has a dangling dot: "table_of_contents."
  4. Click the "table_of_contents." file to start a download
    ER: download prompt should appear and download should proceed
    AR: 40x error page

Expected behaviour

download prompt should appear and download should proceed

Actual behaviour

40x error page

Server configuration

Operating system: Ubuntu 18.04.4 LTS

Web server: Apache 2.4.29

Database:: MySQL 5.7.29

PHP version: 7.2.24

ownCloud version: 10.3.2

Updated from an older ownCloud or fresh install: fresh install

Where did you install ownCloud from: zip from owncloud.org

Signing status (ownCloud 9.0 and above):

No errors have been found.

Are you using external storage, if yes which one: Google Drive

Are you using encryption: no

Are you using an external user-backend, if yes which one: None

Client configuration

Browser: Chrome latest, Safari, macOS client

Operating system: macOS 10.14.6

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