Page 1 of 2
webdav: encoded URL problems for multi-language
PostPosted:Tue Feb 21, 2012 2:50 am
by kevinchang
Hi jillort and pavila,
Today I quote a Chinese Named document "OpenKM_Training_PPT_中文版.pptx" with webdav URL, then it's name become :
http://mydomain/OpenKM/webdav/okm_templ ... 77248.pptx
If I type this url in browser, no doubt that browser returned 404 not found, while webdave can resolve the file name correctly.
It's really contradictory, webdav Path is also a URL, but we cannot fetch multi-lan files if we use encoded webdav Path.
Re: webdav: encoded URL problems for multi-language
PostPosted:Wed Feb 22, 2012 10:24 am
by jllort
We're talking about copy webdav url from UI ?
Re: webdav: encoded URL problems for multi-language
PostPosted:Thu Feb 23, 2012 2:33 am
by kevinchang
Yes, the webdav button on the UI.
Re: webdav: encoded URL problems for multi-language
PostPosted:Sun Feb 26, 2012 8:17 am
by jllort
Re: webdav: encoded URL problems for multi-language
PostPosted:Sun Feb 26, 2012 1:18 pm
by pavila
Which OpenKM version? This issue is supposed to be fixed.
Re: webdav: encoded URL problems for multi-language
PostPosted:Mon Feb 27, 2012 2:26 am
by kevinchang
Version: 5.1.10-SNAPSHOT (build: 7454)
Yes, the urls are encoded, but for webdav URL, if filename is encoded, we cannot access that file via browser.
Re: webdav: encoded URL problems for multi-language
PostPosted:Wed Feb 29, 2012 8:48 am
by jllort
OK, I've added the bug and we'll correct it in next release
Re: webdav: encoded URL problems for multi-language
PostPosted:Mon Mar 05, 2012 2:38 am
by kevinchang
Thank you very much jillort!
Re: webdav: encoded URL problems for multi-language
PostPosted:Mon Mar 05, 2012 9:38 pm
by pavila
I have made some work to get this issue solved. Please, try the night build in order to confirm or not the fix.
Re: webdav: encoded URL problems for multi-language
PostPosted:Tue Mar 06, 2012 5:33 am
by kevinchang
Hi pavilla,
I've tested latest nightly build 7481, however the problem still exists.
My test file was uploaded to openkm demo site.
Code: Select allhttp://demo.openkm.com/OpenKM/index.jsp?docPath=%2Fokm%3Aroot%2Fdemo%2F%E7%94%B5%E7%A7%91%E9%99%A2DVPN%E6%B5%8B%E8%AF%95%E6%8A%A5%E5%91%8A+v0.1.doc
Since webdav is forbidden on demo site, I uploaded it to the site and you can use this file for test.
Re: webdav: encoded URL problems for multi-language
PostPosted:Tue Mar 06, 2012 7:56 am
by pavila
I have just update the online demo. Also WebDAV is enabled now. Please, try again.
Re: webdav: encoded URL problems for multi-language
PostPosted:Wed Mar 07, 2012 2:27 am
by kevinchang
Hi pavilla,
I tested it today, the file is
Code: Select allhttp://demo.openkm.com/OpenKM/webdav/okm:root/demo/电科院DVPN测试报告 v0.1.doc
It's strange. The first time of webdave download will fail, then from the second try, it will succeed.
Re: webdav: encoded URL problems for multi-language
PostPosted:Wed Mar 07, 2012 10:12 am
by pavila
I have tried and always download the first time. Which browser are you using?
Re: webdav: encoded URL problems for multi-language
PostPosted:Thu Mar 08, 2012 2:47 am
by kevinchang
It's strange.. I'm using IE8 as normal browser, and I cannot webdav download until the second try..
Because IE9 has some imcompatibility with our current javascript, I choose to using IE8.
Re: webdav: encoded URL problems for multi-language
PostPosted:Thu Mar 08, 2012 9:56 am
by pavila
This seems a problem related to IE8 because I can confirm it works fine with IE9.