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

File listing crashes when a folder name contains quotes #5747

Closed
daniellienert opened this issue Jul 16, 2017 · 1 comment
Closed

File listing crashes when a folder name contains quotes #5747

daniellienert opened this issue Jul 16, 2017 · 1 comment

Comments

@daniellienert
Copy link

daniellienert commented Jul 16, 2017

Steps to reproduce

  1. Create a folder containing quotes like "test" locally and get it synced
  2. Go to the folder containing the "test" folder
  3. The file list is empty, javascript throws the error:

image

Expected behaviour

Folder gets listed along with the other content of the parent folder.

Actual behaviour

Nothing gets listed

Server configuration

Operating system:
FreeBSD

Web server:
nginx

Database:
MySQL

PHP version:
7.0.17

Nextcloud version: (see Nextcloud admin page)
11.01 stable

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

Where did you install Nextcloud from:

Signing status:

Signing status
No errors have been found.

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

Are you using encryption: yes/no
no

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

Client configuration

Browser:
Chrome (latest)

Operating system:
MacOSX Sierra

Logs

Browser log

Browser log

jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.0
js.js:2139 Deprecation warning: tipsy is deprecated. Use tooltip instead.
jQuery.fn.tipsy @ js.js:2139
js.js:2139 Deprecation warning: tipsy is deprecated. Use tooltip instead.
jQuery.fn.tipsy @ js.js:2139
jquery.min.js:2 Uncaught (in promise) Error: Syntax error, unrecognized expression: tr[data-file=""TEST Folder""]
at Function.ga.error (jquery.min.js:2)
at ga.tokenize (jquery.min.js:2)
at Function.ga [as find] (jquery.min.js:2)
at a.fn.init.find (jquery.min.js:2)
at a.fn.init.a.fn.find (jquery-migrate.min.js:2)
at FileList._createRow (filelist.js?v=6f142f6c57eef6a0109913ea761a1352:1178)
at FileList.fileList._createRow (tagsplugin.js?v=6f142f6c57eef6a0109913ea761a1352:142)
at FileList.fileList._createRow (filesplugin.js?v=6f142f6c57eef6a0109913ea761a1352:77)
at FileList.fileList._createRow (share.js?v=6f142f6c57eef6a0109913ea761a1352:38)
at FileList._renderRow (filelist.js?v=6f142f6c57eef6a0109913ea761a1352:1364)

@MorrisJobke
Copy link
Member

I could not reproduce anymore with 12.0.2. We did some fixes there in the escaping. Could you please check if it is still broken for your case? Thanks

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

2 participants