lib/moodlelib.php中のclean_filename()関数中,
} else {
を
} else {
です. //clean only ascii range
$string = preg_replace("/[\\000-\\x2c\\x2f\\x3a-\\x40\\x5b-\\x5e\\x60\\x7b-\\177]/s", '_', $string);
}$string = preg_replace("/[\\000-\\x2c\\x2f\\x3a-\\x40\\x5b-\\x5e\\x60\\x7b-\\177]/s", '_', $string);
を
} else {
//clean only ascii range
// $string = preg_replace("/[\\000-\\x2c\\x2f\\x3a-\\x40\\x5b-\\x5e\\x60\\x7b-\\177]/s", '_', $string);
$string = mb_ereg_replace('[<>"\|:\\/\*\?]', '_', $string);
}// $string = preg_replace("/[\\000-\\x2c\\x2f\\x3a-\\x40\\x5b-\\x5e\\x60\\x7b-\\177]/s", '_', $string);
$string = mb_ereg_replace('[<>"\|:\\/\*\?]', '_', $string);