Comments (6)
As you can see in the Server log the url is encoded, and Bügel1 is encoded to Bu%cc%88gel1 which appears to be correct as you can test on various online tools. Your server however does not seem to be able to deal with that encoding properly. Would you be so kind to check the apache error log if you can see if it shows errors on that?
For me, Bügel1 works fine, but my client encodes Bügel1 to B%c3%bcgel1 which also is correct. The encoding is done by ne_path_escape of the neon lib. It boils down to this code:
for (pnt = (const unsigned char *)path; *pnt != '\0'; pnt++) {
if (path_escape_ch(*pnt)) {
/* Escape it - %<hex><hex> */
sprintf(p, "%%%02x", (unsigned char) *pnt);
p += 3;
} else {
*p++ = *pnt;
}
}
and I wonder how this can produce the different output on the platforms.
from client.
except from the message Password Mismatch its empty, but I think that is normal,
Seems to happen on every access, even on folders that are ok.
==> error.log <==
[Mon Nov 05 22:00:53 2012] [error] [client x.x.x.x] user username: authentication failure for "/webdav/owncloudTEST/Bu\xcc\x88gel1": Password Mismatch
[Mon Nov 05 22:00:53 2012] [error] [client x.x.x.x] user username: authentication failure for "/webdav/owncloudTEST/Bu\xcc\x88gel1": Password Mismatch
[Mon Nov 05 22:00:53 2012] [error] [client x.x.x.x] user username: authentication failure for "/webdav/owncloudTEST/Bu\xcc\x88gel1/": Password Mismatch
I connected with a webdav client (cyberduck) and created the same Folder.
That one works fine and uses your %c3%bc encoding.
==> access.log <==
x.x.x.x - username [05/Nov/2012:22:24:27 +0100] "MKCOL /ocloud/remote.php/webdav/owncloudTEST/B%C3%BCgel2/ HTTP/1.1" 201 1580 "-" "Cyberduck/4.2.1 (Mac OS X/10.7.5) (i386)"
x.x.x.x - username [05/Nov/2012:22:24:36 +0100] "PROPFIND /ocloud/remote.php/webdav/owncloudTEST/B%C3%BCgel2/ HTTP/1.1" 207 1255 "-" "Cyberduck/4.2.1 (Mac OS X/10.7.5) (i386)"
path_escape_ch - I hate such complex defines, cant say i really understand it.
As far as i understand it, OSX hamdles special chars with the
NFD-Form (Unicode normalization form D)
NFD: "u%CC%88"
other OS's or applications seem to prefer
NFC-Form (Unicode normalization form C)
NFC: "%C3%BC"
maybe the webdav server could run a function like this before it handles the url
if (!normalizer_is_normalized($uri)) {
$uri = normalizer_normalize($uri);
}
from client.
I'm experiencing that a customer is causing a loop with it's client sync. This same log entry loops over and over twice every second. It gives an error 404, which might be a bug with special characters? Our primary customers are Danish which means that they are using characters like: æ, ø and å.
[20/Nov/2012:10:52:12 +0100] "PROPFIND /remote.php/webdav/F%c3%b8rstehj%c3%a6lp.com/1-Kunder/2012/Salg%20af%20hjertestartere/8-Give%20st%c3%a5lsp%c3%a6r%20-%201%20zoll%20%2b%206%20timer%20FH/2012-3-Give%20st%c3%a5lsp%c3%a6r%20-%206%20timer%20FH%20og%20ZOLL/SV%20tilbud%20fra%20F%c3%b8rstehj%c3%a6lp.com-filer HTTP/1.1" 404 874 "-" "csyncoC/0.60.1 neon/0.29.6"
The folder mentioned is existing, but no files are located in that folder at the moment.
A little more information from apache error.log to assist you.
[Tue Nov 20 10:36:17 2012] [apc-warning] Potential cache slam averted for key '50a25a3fcdc6e/[email protected]/fileid//[email protected]/files/Førstehjælp.com/1-Kunder/2012/Salg af hjertestartere/8-Give stålspær - 1 zoll + 6 timer FH' in /var/www/cloud/lib/cache/apc.php on line 35.
[Tue Nov 20 10:53:47 2012] [error] [client 87.59.192.118] PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) in /var/www/cloud/lib/base.php on line 265
The OS is ubuntu 10.04.
from client.
I implemented a loop detection in csync today so that the mkdir routine can not loop any more. That will fix the symptom, but it will not fix the underlying issue of rong encodings.
from client.
A similar bug, from Bug Genie for Korean language:
http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-1341
Description:
- Client sync does not working at Korean named files
- Korean named files download error.
icon_edit.png Reproduction steps:
- Sync the Korean named files. And delete it. It does not works for server with another client.
- Share the Korean named files. And download it. File name disappeard.
from client.
Problem solved with OSX Client 1.1.4
Mirall/ownCloud Client, version 1.1.4
csync 0.60.4 required.
- No changes to mirall/ownCloud Client source.
- [Fixes] csync: Fix encoding issues on MacOSX clients, now the client sends normalized unicode on that platform.
Thanks!
from client.
Related Issues (20)
- [Windows] Cannot build stable releaes e.g. 5.2.1 - documentation should be updated HOT 9
- Owncloud is used in a folder sync connection HOT 4
- [QA] GUI tests sometime fails due to system keyring dialog HOT 1
- Option to disable popup for update HOT 1
- Cannot connect securely to <server address> HOT 24
- Improve wayland support by setting qApp->desktopFileName()
- Raspberry Pi Owncloud client installable from 'sudo apt install' HOT 1
- The elements of the tab bar (toolbar) were not implemented as tabs, but as
- The "User account" button opens a menu, but non-visual users are not informed
- The "Filter" button opens a menu, but non-visual users are not given any
- [QA] Failing GUI tests HOT 2
- The arrows "<" and ">" should be hidden by screen readers. This ensures HOT 3
- Although all checkboxes have an accessible name, in some cases where the HOT 1
- "Local sync protocol" tab a11y issues HOT 3
- The labeling of the "Add Space" button is in English, but should be in German. HOT 1
- Recently added account is not focused HOT 1
- Follow `.well-known/openid-configuration` -> `token_endpoint_auth_methods_supported` HOT 2
- [QA] Automate GUI regression tests
- Flatpak release HOT 1
- Check German translation for "Finish" in wizard HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from client.