WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. plux
    Member
    Posted 2 years ago #

    Hi,

    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.

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. Angry Creative
    Member
    Posted 2 years ago #

    +1

  3. Bjarne
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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

About this Topic