#57 symlink mimetypes

open-accepted
Jin
3
2009-12-20
2009-11-28
aTc
No

When a symlink to a file is added, and the file extension is not <map>'ed, the file will end up in the db with an application/x-symlink mimetype.

Discussion

  • Jin

    Jin - 2009-12-20

    Thanks for the observation, let's see how we can handle this nicely.

     
  • Jin

    Jin - 2009-12-20
    • labels: --> Media Import/Metadata Handling
    • priority: 5 --> 3
    • assigned_to: nobody --> jin_eld
    • status: open --> open-accepted
     
  • Dieter Plaetinck

    It seems libmagic supports a MAGIC_SYMLINK flag to follow symlinks when querying files.
    See http://linux.die.net/man/3/libmagic

    I tried to patch myself but couldn't even get the unpatched svn code to compile. Anyway, maybe this is a one line fix for Jin :)

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks