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

Web client exception on filenames containing % character #11833

Closed
Celti opened this issue Oct 15, 2018 · 2 comments
Closed

Web client exception on filenames containing % character #11833

Celti opened this issue Oct 15, 2018 · 2 comments
Labels

Comments

@Celti
Copy link

Celti commented Oct 15, 2018

Steps to reproduce

  1. Create a file with a % in the filename in a Nextcloud-synced folder, e.g., 99%.txt.
  2. Attempt to load that folder in the web interface.

Expected behaviour

Nextcloud should display the folder's contents in the web interface, as normal.

Actual behaviour

The folder sits with an endless loading icon. In the browser console in Chromium, an uncaught URIError in client.js can be observed. Using WebDAV directly (e.g., DAVfs or the sync client) works normally.

Server configuration

Operating system: Arch Linux (Linux 4.14.72-1-lts)

Web server: Apache 2.4.35

Database: PostgreSQL 10.5

PHP version: PHP 7.2.10 (FPM)

Nextcloud version: 14.0.3

Updated from an older Nextcloud/ownCloud or fresh install: Updated continuously from (IIRC) Nextcloud 9.

Where did you install Nextcloud from: Originally downloaded from Github, updated through interface since.

Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
  - files_sharing: 1.6.2
  - files_texteditor: 2.6.0
  - files_trashbin: 1.4.1
  - files_versions: 1.7.1
  - files_videoplayer: 1.3.0
  - firstrunwizard: 2.3.0
  - gallery: 18.1.0
  - groupfolders: 1.3.3
  - logreader: 2.0.0
  - lookup_server_connector: 1.2.0
  - mail: 0.10.0
  - nextcloud_announcements: 1.3.0
  - notifications: 2.2.1
  - oauth2: 1.2.1
  - password_policy: 1.4.0
  - provisioning_api: 1.4.0
  - quota_warning: 1.3.0
  - serverinfo: 1.4.0
  - sharebymail: 1.4.0
  - support: 1.0.0
  - survey_client: 1.2.0
  - systemtags: 1.4.0
  - theming: 1.5.0
  - twofactor_backupcodes: 1.3.1
  - twofactor_totp: 1.5.0
  - updatenotification: 1.4.1
  - workflowengine: 1.4.0
Disabled:
  - dashboard
  - encryption
  - user_external
  - user_ldap

Nextcloud configuration:

Config report
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.celti.name"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/cloud.celti.name",
        "dbtype": "pgsql",
        "version": "14.0.3.0",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "filelocking.enabled": "true",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0
        },
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "theme": "",
        "loglevel": 1,
        "maintenance": false,
        "trashbin_retention_obligation": "auto",
        "asset-pipeline.enabled": true,
        "htaccess.RewriteBase": "\/",
        "updater.release.channel": "stable",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpsecure": "tls",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

Are you using external storage, if yes which one: Local storage for a single folder not apparently involved in this issue.

Are you using encryption: No.

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

Client configuration

Browser: Firefox 63b10 and and Chromium 69.0.3497.100

Operating system: Arch Linux (Linux 4.8.11-zen1-1-zen)

Logs

Web server error log

There are no errors in the current web server error log.

Nextcloud log (data/nextcloud.log)

There are no entries in the Nextcloud log.

Browser log

Browser log ``` � ```
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #11780 (character % in filename), #7762 (Special characters in filenames), #4853 (occ files:scan - an exception occures if folder or file name contains a '+' character.), #9462 (Exception during scan), and #6860 (appstoreFetcher Exception).

@Celti
Copy link
Author

Celti commented Oct 15, 2018

Ugh, this is a dupe of #11780 but Github's search is silly and I didn't find it. Closing, sorry for the noise.

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