Ignore:
Timestamp:
2014/02/14 22:26:48 (10 years ago)
Author:
kimoto
Message:

#2386 フォーラムより
 http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=14241&forum=9&post_id=63901

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/SC_CheckError.php

    r23124 r23349  
    852852        } 
    853853        $this->createParam($value); 
    854         if (strlen($this->arrParam[$value[1]]) > 0 && !preg_match("/^[[:alnum:]_\.-]+$/i", $this->arrParam[$value[1]]) || preg_match('/[\\]/' ,$this->arrParam[$value[1]])) { 
     854        if (strlen($this->arrParam[$value[1]]) > 0 && preg_match("/[^[:alnum:]_.\\-]/", $this->arrParam[$value[1]])) { 
    855855            $this->arrErr[$value[1]] = '※ ' . $value[0] . 'のファイル名に日本語やスペースは使用しないで下さい。<br />'; 
    856856        } 
Note: See TracChangeset for help on using the changeset viewer.