Skip to content

Error message instead of playing video with special characters in file name only(!) with shared links for folders #24848

@maidstein

Description

@maidstein

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Create a new folder
  2. Upload / copy / move a mp4 file to this folder.
  3. Change file name by giving a special chracter like '+' or '&' or whatever.
  4. Create a shared link for this folder. With or without password doesn't matter. Do not create a shared link for the mp4 file directly because this works.
  5. Open the shared link in a new browser tab.
  6. Try to play the mp4 file inside your browser. Do not download the mp4 file because this works.

Expected behaviour

A window should open and playing video / mp4 file.

Actual behaviour

A window opens and shows a message: "Fehler beim Laden von [file name]" (Maybe: "Error while loading [file name]")

This error message only occurs if you call up video / mp4 file inside a folder which is shared by a link!

Server configuration

**Operating system: Linux 4.15.0-128-generic x86_64

Web server:

**Database: MySQL 5.7.28

**PHP version: 7.4.10

**Nextcloud version: 20.0.4

**Updated from an older Nextcloud/ownCloud or fresh install: 17, 18, 19

**Where did you install Nextcloud from: All-Inkl.com

Signing status:

Signing status
No errors have been found.

Nextcloud configuration:

Config report
<?php
$CONFIG = array (
  'instanceid' => '************',
  'passwordsalt' => '******************************',
  'secret' => '************************************************',
  'trusted_domains' => 
  array (
    0 => '********.**',
    1 => 'www.********.**',
  ),
  'datadirectory' => '/www/htdocs/w0152ded/bibliothek/data',
  'dbtype' => 'mysql',
  'version' => '20.0.4.0',
  'overwrite.cli.url' => 'http://********.**/bibliothek',
  'dbname' => '********',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'ffYaX_',
  'mysql.utf8mb4' => true,
  'dbuser' => '********',
  'dbpassword' => '********',
  'installed' => true,
  'tempdirectory' => '/www/htdocs/********.**/bibliothek/tmp/',
  'mail_smtpmode' => 'sendmail',
  'mail_sendmailmode' => 'pipe',
  'mail_from_address' => 'mn',
  'mail_domain' => '********.**',
  'maintenance' => false,
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'theme' => '',
  'loglevel' => 2,
  'updater.secret' => '*********************************************************************',
);

Are you using external storage, if yes which one: no

Are you using encryption: no

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

Client configuration

**Browser: probably doesn't matter

**Operating system: probably doesn't matter

Logs

Web server error log

Web server error log
Please contact if you really need more information!

Nextcloud log (data/nextcloud.log)

Nextcloud log
Please contact if you really need more information!

Browser log

Browser log
Please contact if you really need more information!

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions