Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folder does not load when a file with a percentage (%) sign is in folder #11892

Closed
ghost opened this issue Oct 17, 2018 · 4 comments
Closed

Folder does not load when a file with a percentage (%) sign is in folder #11892

ghost opened this issue Oct 17, 2018 · 4 comments
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Oct 17, 2018

Nextcloud version: 14.0.3
Operating system and version: CENTOS 7.5.1804 (Core)
Apache or nginx version: lighttpd 1.4.50
PHP version: 7.0.32

The issue you are facing:
When a file is present in a folder with a percentage sign in the file name (e.g. "TestFile10%.png"), then the folder does not open in the web interface, and the loading animation (rotating circle) keeps spinning.

Is this the first time you've seen this error?: Yes

Steps to replicate it:

  1. Go do some subfolder
  2. Create a textfile with filename "Test10%.txt
  3. Go to root
  4. Try to navigate to the folder again -> The folder does not load

The output of your Nextcloud log in Admin > Logging:

Nothing to show

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'updatechecker' => false,
  'instanceid' => 'XXX',
  'passwordsalt' => 'XXX',
  'secret' => 'XXX',
  'updater.secret' => 'XXX',
  'trusted_domains' =>
  array (
    0 => 'XXX.XXX.com',
  ),
  'datadirectory' => '/home/XXX',
  'overwrite.cli.url' => 'https://XXX.XXX.com',
  'dbtype' => 'mysql',
  'version' => '14.0.3.0',
  'dbname' => 'XXX',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'XXX',
  'dbuser' => 'XXX',
  'dbpassword' => 'XXX',
  'logtimezone' => 'UTC',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'singleuser' => false,
  'mail_smtpmode' => 'smtp',
  'mail_smtphost' => 'smtp.gmail.com',
  'mail_smtpport' => '465',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_from_address' => 'XXX',
  'mail_domain' => 'XXX',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpname' => 'XXX',
  'mail_smtppassword' => 'XXX',
);

@ghost
Copy link
Author

ghost commented Oct 17, 2018

Duplicate of #11405

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #11861 (Folders and Files containing "%"), #4243 (cannot delete files in upload-only folder), #11452 (If you create a new file by entering"%" in the file name or folder name, the list of the folder can not be read.), #5031 (Wrong or no sizes of files/folders), and #7629 (Create Folders when moving files).

@MorrisJobke
Copy link
Member

Fixed in #11744 and will be shipped in 14.0.4

@MorrisJobke
Copy link
Member

Duplicate of #11695

@MorrisJobke MorrisJobke marked this as a duplicate of #11695 Oct 18, 2018
@MorrisJobke MorrisJobke added this to the Nextcloud 15 milestone Oct 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants