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

character % in filename #11780

Closed
xan-it opened this issue Oct 11, 2018 · 3 comments
Closed

character % in filename #11780

xan-it opened this issue Oct 11, 2018 · 3 comments
Milestone

Comments

@xan-it
Copy link

xan-it commented Oct 11, 2018

Steps to reproduce

  1. upload a file with a filename containing the character % (e.g. "test % test.txt")
  2. reload directory

Expected behaviour

display the filename

Actual behaviour

no content at all, only the loading spinner forever

Server configuration

VM + official docker image

Operating system:
Ubuntu 14.x + 18.x

Web server:
Apache

Database:
SQLite + MySQL 5.7

PHP version:
7.0.32

Nextcloud version: (see Nextcloud admin page)
nextcloud 14.0.1 + 14.0.2

Updated from an older Nextcloud/ownCloud or fresh install:
updated

Where did you install Nextcloud from:

Signing status:

Signing status
Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

No errors have been found.
</details>

**List of activated apps:**
<details>
<summary>Accessibility, Activities for shared file downloads, Activity, Auditing / Logging, Brute-force settings, Collabora Online, Collaborative tags, Data Request, Deleted files, File sharing, Group folders, Log Reader, Monitoring, Nextcloud announcements, Notifications, Password policy, PDF viewer, Support, Text editor, Update notification, User account deletion, Versions, Video player</summary>

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

</details>

**Nextcloud configuration:**
<details>
<summary>Config report</summary>

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

or

Insert your config.php content here.
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)

</details>

**Are you using external storage, if yes which one:** local/smb/sftp/...

**Are you using encryption:** yes/no

**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...

#### LDAP configuration (delete this part if not used)
<details>
<summary>LDAP config</summary>

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM oc_appconfig WHERE appid = 'user_ldap';

Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

</details>

### Client configuration
**Browser:**

**Operating system:**

### Logs
#### Web server error log
<details>
<summary>Web server error log</summary>

Insert your webserver log here

</details>

#### Nextcloud log (data/nextcloud.log)
<details>
<summary>Nextcloud log</summary>

Insert your Nextcloud log here

</details>

#### Browser log
<details>
<summary>Browser log</summary>

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

</details>
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #7762 (Special characters in filenames), #8386 (Can't sync file with tab or newline character in filename), #1560 (4 byte unicode characters in filenames with MariaDB causes severe bugs), #5475 (Add the filename to the share link), and #10030 (Do not allow RTLO char in filenames).

@martini1992
Copy link

It's actually solved by this commit 0f030d8, URI being decoded twice, blows up the second time when it hits a special character such as a %

@MorrisJobke
Copy link
Member

Fixed by #11744

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants