NextGEN Gallery
[BUG] sanitization of filenames. (4 posts)

  1. Plux Stahre
    Posted 4 years ago #


    The plugin to hard in the sanitization of filenames, and files with the swedish characters åäö ÅÄÖ does not work, when uploaded you will end up with a filename like "ra%cc%88ksmo%cc%88rga%cc%8as.jpg" on the server, when it should be "räksmörgås.jpg".

    This will generate a 404 from the server, as it tries to find "räksmörgås.jpg" on the disk.

    One quick solution would be to replace åäö with aao and ÅÄÖ with AAO before running the filename trough sanitize_title_with_dashes.


  2. Angry Creative
    Posted 4 years ago #


  3. Bjarne
    Posted 4 years ago #

    Any one with a working "bug fix" for this?
    I dont mind getting dirty and applying it my self; as long some one can contribute the solution...

  4. mibuthu
    Posted 4 years ago #

    I have the same problem.
    In the folder name it is o.k., e.g. ü is replaced with u, but in filenames it is getting \xc3\xbc.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic