Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #30052, comment 7


Ignore:
Timestamp:
11/24/2014 10:45:22 PM (10 years ago)
Author:
bobbingwide
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30052, comment 7

    v1 v2  
    6363}}}
    6464
    65 It would appear that sanitize_file_name() is to blame - reducing the file to
    66 {{{
    67     [0] => jpg
    68 }}}
    6965
    7066Note: I can also produce the problem on a PHP 5.5.18 Windows server using WP_Image_Editor_GD
     
    7672
    7773The question is... What is the expected output of sanitize_file_name() when it's all special characters?
     74Until I know the answer I can't develop a fix.
    7875
    7976