-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Sync fails when file/directory names contain commas #7131
Comments
Commas are characters, which need to be encoded in urls (in contrast to dots). Therefore your described use case may not be the same like what your desktop client does. Just because the log does not encode the url, it does not mean that it is not encoded while requesting the server... Anyhow I'm not able to reproduce it with a file / folder like "test, test, test.jpg" |
@brunt82, you're right and I don't know why it works for some installations and not for mine but 2 things are for sure:
|
Steps to reproduce
https://path/to/nextcloud/remote.php/dav/files/your_account/dir/file,test.jpg
==> this leads for me to a 403 error
https://path/to/nextcloud/remote.php/dav/files/your_account/dir/file.test.jpg
==> I get the authentication window!
Expected behaviour
I should reach the authentication window in both cases
Actual behaviour
I get a 403 error when there's a comma in a file or directory name. This prevents those file for syncing.
Server configuration
Operating system: raspbian stretch
Web server: apache
Database: mysql
PHP version: 7
Nextcloud version: 12.0.3
Updated from an older Nextcloud/ownCloud or fresh install: updated from 12.0.2 (but didn't work in 12.0.2 neither)
Where did you install Nextcloud from: manual install from the official zip
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: dropbox v2 (unofficial, removed but seems not totally removed)
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: firefox 56
Operating system: Linux Mint 18.2
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
Local desktop log says:
10/11/2017 13:11:11,workspace/lespetitscarreaux/lpc/albums/img/rene-paulette-enfants/tante louise,Rene, simon, anne.jpg, /data/nextcloud,Cet élément n'a pas été synchronisé en raison des erreurs précédentes : Error downloading https://levillain.fr.nf/nextcloud/remote.php/dav/files/olivier.levillain@free.fr/workspace/lespetitscarreaux/lpc/albums/img/rene-paulette-enfants/tante louise,Rene, simon, anne.jpg - server replied: Forbidden
this for ~400 files...
The text was updated successfully, but these errors were encountered: