Summary: Call to finfo_file fails on windows systems
           Product: MediaWiki
           Version: 1.17-svn
          Platform: All
        OS/Version: Windows 7
            Status: NEW
          Severity: major
          Priority: Normal
         Component: Resource Loader

On Windows systems the call to finfo_file in CSSMin.php fails because of the
relative path that is passed as argument.

According to the path must be passed through
realpath for finfo_file to work.

Changing line 563 to the following cures the bug on windows:
$type = finfo_file( finfo_open( FILEINFO_MIME_TYPE ), realpath( $file ) );

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to