Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

WebDAV bugs with ML

Hi!


As several of you are pointing out in the forums, there are apparently some problems with WebDAV in Mountain Lion.


I'm not experiencing any connection problems though, but are having problems with random files being displayed as UNIX files and therefore not working, as well as folders with (some) international characters disappearing when clicked upon - I'm thinking that the two problems could be linked.


Does anyone else see the same problems and do you have a solution?


My drives are mounted via WebDAV which runs on a Windows Server 2010 setup.


Thanks,

Mattias, Denmark

Posted on Sep 25, 2012 2:08 AM

Reply
29 replies

Oct 12, 2013 3:59 PM in response to nicolecoco02

Solution to what? This thread is over a year old. I am unaware of any specific problems with the OS X implementation of WebDAV that would correspond to what the original poster was describing. Apple does use a slightly unusual, but completely valid, way to describe non-English file names. Perhaps Windows file servers don't accept that method. If so, that would be a bug on the Windows side.

Oct 13, 2013 12:29 AM in response to etresoft

In sorry etresoft but I think you should read the posts again. No one has mentioned any windows server or anything from Microsoft. We all seem to have problems with various unix based NAS servers. I'm not saying that Microsoft doesn't have any bugs, they might have but they can't be the culprit here since they just aren't involved ;-)


Apple has bugs, that I know and from my view they just ignore it. It might not be a bug from their standpoint. They might have a completely valid implementation according to the WebDAV specification but that doesn't help. They fail to show catalogues and files with foreign characters something that others can cope with. I reserve my right to call this a bug in Apples WebDAV implementation...


Sincerely


/Thomas

Oct 13, 2013 2:30 AM in response to etresoft

Very interesting and useful feedback from etresoft. Very respectful of others people.

Did you even tried to reproduce the issue before replying ? Is it too hard for you to read a 2 pages long thread ? Or may be you just do not have the technical skills to understand the problem encountered by many people (and not only the one who are writing in this thread).


So to resume : the bug exists, it is 100% reproducible, a case number is already opened at apple for months. No solution to a real issue. No workaround.

Oct 13, 2013 2:59 AM in response to etresoft

#etresoft


You should do some research before answering a question that way - I'm actually surprised of your answer.


As mentioned, the problem still exits - on both Windows and UNIX based servers, and was first discovered with Mountain Lion. The problems is not there in Lion or Snow Leopard, so you don't have to be a genius to figure out that the problem is related to the WebDAV implementation that is used by Apple in ML.

But the problem seems to be of no importance for Apple unfortunately.


Does anyone have access to a Mavericks beta and can you please check if the problem is solved? If not, we will have to find another solution to access our files outside the company domain for sure.

Oct 13, 2013 6:20 AM in response to mattias.dk

I have done a fair amount of research. I actually wrote a WebDAV server from scratch.


You mentioned two specific problems: random files appearing as "UNIX" files and folders with "international" names disappearing. I'm not really sure what it means to appear as a "UNIX" file. OS X is UNIX as are all of its files. Is there something more specific about what is happening with these files? For the other problem, are the folders themselves disappearing or are the "international" characters disappearing? I am unaware of any folders disappearing.


There is a well-known issue with the way file names are handled on OS X. Most people in this thread seem to be referring to that. While it is a known issue, it certainly isn't a bug or anything Apple is doing wrong. There are often multiple ways to represent the same non-ASCII character in Unicode. Both methods are completely valid. The method Apple uses dates from many years ago when processors were far less powerful. It was easier to do file name sorting when all of the accents and combining characters were actually separate glyphs. This method is now embedded deep within the OS and is not going to get changed anytime soon.


If there are servers that do not accept file names with these perfectly valid Unicode strings, then those servers are the ones with the bugs. I was aware of this issue from day one. It only took a few minutes to ensure that any decomposed Unicode strings from a client were converted into the precomposed Unicode that anything outside of OS X would expect. Writing a WebDAV server is fairly difficult. The Finder is the most common and most demanding WebDAV client. Normalising the Unicode was easy. Anyone writing a WebDAV server must test it with the Finder. This issue has been public knowledge for decades. There is no excuse for anyone to release a WebDAV server without full support for Unicode.

Oct 13, 2013 7:20 AM in response to etresoft

The Finder do present the files or catalogues with these foreign names. So far so good. It's obvious that the server presents the names in a format that the Finder accepts. But...


...as soon as you try to do something with these files or catalogues the literally disappears from the Finder and nothing happens. Opening a catalogue or file is therefore impossible. The file or catalogue magically appears again... But you still can't do anything with them just look at the nice names...


What you are saying, and forgive if I'm wrong, is that Apple does it right and a bunch of different server implementer a from several different vendors, some based on Unix some not, has done a bad job. Apple used to work but ML suddenly failed. I can't speak for all vendors but my QNAP NAS stopped working when I switched to ML, this without any changes in my NAS. Seems like Apple changed something and not for the better :-)


This was a long post just to give my 20c

Oct 13, 2013 8:54 AM in response to rambrant

rambrant wrote:


The Finder do present the files or catalogues with these foreign names. So far so good. It's obvious that the server presents the names in a format that the Finder accepts. But...


...as soon as you try to do something with these files or catalogues the literally disappears from the Finder and nothing happens. Opening a catalogue or file is therefore impossible. The file or catalogue magically appears again... But you still can't do anything with them just look at the nice names...


What you are saying, and forgive if I'm wrong, is that Apple does it right and a bunch of different server implementer a from several different vendors, some based on Unix some not, has done a bad job. Apple used to work but ML suddenly failed. I can't speak for all vendors but my QNAP NAS stopped working when I switched to ML, this without any changes in my NAS. Seems like Apple changed something and not for the better :-)


This was a long post just to give my 20c

The forum software here is flaky. I have to mix up the message I'm replying to.


I never claimed that a bunch of different server implementations from several different vendors do it wrong. The original poster is talking about one specific Windows server. I have used the Finder extensively with my own server. I just tested Unicode characters with a Linux server I recently setup running a generic version of Apache's WebDAV. I cannot reproduce the problem you describe. Those NAS devices are notorious for problems like this.


The world of WebDAV is no different than any other technology. There is a standard that eveyone strives for. Then there are market behemoths that everyone must work with regardless. If it violates the standard, it is broken. If it doesn't work with a major player, it is broken. For WebDAV clients, OS X is the big one. Windows clients have a long history of WebDAV flakiness that continues right up to today. For servers, everyone has to work with Apache. I have tested the OS X client with the Apache server and it seems to work fine. If there are any other clients or servers that behave differently, they are the ones that need bug fixes.


As I cannot get this to fail on Mountain Lion, and you claim it works on Lion, there is no way for me to test it with your configuration. I can tell you that the Finder's WebDAV client is challenging and people don't like it. It tries to bring the expected Mac experience to WebDAV and could very well push an inadequate server past its limits. But that doesn't mean it is broken.

Oct 13, 2013 2:28 PM in response to etresoft

As the "original poster", I'll try to explain once more:


We have a company network based on a Windows 2010 server and two Synology NAS servers. Since ML was launched and our Mac clients got updated, we started having problems with opening certain folders and files because of their international characters; in our case, danish characters like æ, ø, and å and some symbols. I even had problems with folders with a space at the end of the name, they would dissapear too...


This ONLY happens on computers with ML, not Lion or Snow Leopard. NO configuration changed have been made or any updates have been run - same system, same user, but with ML, the files and folders will vanish when users try to open them!


I have no doubt in your knowledge or extensive wisdom in this area - we're just saying that this problem still exits and is without a doubt related to Apple in some way...


Any Mavericks users that can confirm that this problem have been solved in the GM version?

Oct 13, 2013 4:37 PM in response to mattias.dk

mattias.dk wrote:


Any Mavericks users that can confirm that this problem have been solved in the GM version?

As Mavericks is still in beta, any Mavericks users cannot confirm anything.


What I can say is that users of Synology devices are frequent posters reporting problems like this. Usually the issue is with AFP or SMB. I have to wonder why you are not using one of those options instead. While I don't think the OS X WebDAV client is doing anything wrong in this case, I'm not about to claim that either WebDAV is a good protocol or the OS X client is a good implementation. If you have options other than WebDAV, I strongly suggest using them.


You should be able to look at your server logs and see exactly what access attempts are leading to the failure. You might also want to check the server error logs too.


Are there any specific paths that are guaranteed to cause the problem? Can you provide a step-by-step procedure that will reproduce it?

Oct 13, 2013 10:57 PM in response to etresoft

The problem is not synology, qnap or any other nas. The problem is apple and specifically ML.

No issue when the client is snow leopard, windows or linux !!


Do not waste your time with etresoft, this guy just do not understand or is too blind to see what all people are showing.


You have a problem with webdav, but why don't you use afp ?!


Ha ! Ha ! The answers of this type is so caricature, that it could be funny if this issue was not so penalizing.


By the way, there is nothing is qnap or synology logs because from the server point of view there is no problem. The issue is the webdav client of ML that do not handle international char.


So, at the end, even if ML is scrupulously following webdav implementation it does not allow it to integrate to very common IT where all other OS do not encounter any issue (including previous apple os).

Oct 14, 2013 12:26 AM in response to mattias.dk

I've been doing some testing again, and I can't replicate the problem anymore - I'm running Mac OS 10.8.5, so did a miracle just happen and Apple fixed this problem in one of the latest updates?


It works fine on both our Windows server and Synology NAS units - nothing has changed on these systems since last time I checked (about six months ago)


I'll do some further investigation and ask some other co-workers for their experience

WebDAV bugs with ML

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.