Skip to content

The creation of folders with special chars on their name always end up in folder duplication #579

Closed

Description

@D1reW0lf

Hi all.

I just realized that when I try to create a folder thru the browser (with special chars on its name) as soon as I enter the folder it will create a duplicate folder with the same name.

But if a similar folder (also with special chars) is created thru FTP that problem no longer happens.

Here goes an example:
http://ficheiros.fardilha.net/screenshots/owncloud_special_chars.mp4

My test "server" machine has the following settings:

  • ownCloud 4.5.2 (but also tested with the latest dev versions with the same result)
  • SQLite as the DB
  • all the ownCloud files/folders are running under the default web user on the Mac (_www)
  • Mac OS X Mountain Lion 10.8.2
  • Apache 2.2.22
  • PHP 5.4.4 (so the Normalizer php plugin is already there)

I recreate a similar configuration using a LAMP server and this problem does not occur, so it has to be something related with ownCloud writing to the Mac file system.

I could really use some help to fix this.
If anyone has any idea on how to deal with this situation I would be really thankful.

Best regards
Pedro Fardilha

Activity

  1. georgehrke commented on Feb 8, 2013

    @georgehrke
    Contributor

    @icewind1991 This looks like a caching issue

  2. icewind1991 commented on Feb 10, 2013

    @icewind1991
    Contributor

    It's caused by MacOS normalizing the unicode characters and thus saving a different filename to the disk then we store in the filecache. ATM I'm not sure about a to fix this.

  3. jancborchardt commented on Aug 8, 2013

    @jancborchardt
    Contributor

    I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version.

    Please reopen if you still encounter this issue with the latest stable version (currently ownCloud 5.0.9) and then please use the issue template. You an also contribute directly by providing a patch – see the developer manual. :)

    Thank you!

  4. mkormendy commented on Aug 24, 2013

    @mkormendy

    I was having an issue with the OC client on mac os x, it connects to my server which is a mac os x mountain lion install with the owncloud core as noted here:

    owncloud/client#616 (comment)

    As such I noticed that I was having issues with the accented characters, and I realize that OwnCloud isn't supported to be run on OS X, but I was working with an install before the accented characters issue was realized.

    I also saw that these threads were dealing with this issue possibly:

    #3459

    #2469

    I have some information that might help towards a solution that I found, and you might already know about it but I would check it out regardless it is here:

    Stack Overflow - In PHP, how do I deal with the difference in encoded filenames on HFS+ vs. elsewhere?

  5. locked as resolved and limited conversation to collaborators on Aug 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions