Changeset 10108 for temp


Ignore:
Timestamp:
2006/12/01 18:37:24 (20 years ago)
Author:
uehara
Message:

blank

Location:
temp/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/class/SC_CheckError.php

    r10105 r10108  
    558558            return; 
    559559        } 
    560 sfprintr($this->arrParam[$value[1]]);        
    561         if( strlen($this->arrParam[$value[1]]) > 0 && ! EregI("^[[:alnum:]_\.-]+$", $this->arrParam[$value[1]]) && EregI("[\\]" ,$this->arrParam[$value[1]])) {  
     560     
     561        if( strlen($this->arrParam[$value[1]]) > 0 && ! EregI("^[[:alnum:]_\.-]+$", $this->arrParam[$value[1]]) || EregI("[\\]" ,$this->arrParam[$value[1]])) {  
    562562            $this->arrErr[$value[1]] = "¢¨ " . $value[0] . "¤Î¥Õ¥¡¥¤¥ë̾¤ËÆüËܸì¤ä¥¹¥Ú¡¼¥¹¤Ï»ÈÍѤ·¤Ê¤¤¤Ç²¼¤µ¤¤¡£<br />";     
    563563        } 
  • temp/trunk/html/test/uehara/test.php

    r10107 r10108  
    11<?php 
    2 $test= '\\'; 
     2$test= 'aaa\\ '; 
    33if(EregI("[\\]", $test)) { 
    44    echo "true!!"; 
Note: See TracChangeset for help on using the changeset viewer.