Changeset 16305


Ignore:
Timestamp:
2007/10/06 21:53:09 (15 years ago)
Author:
nanasess
Message:

URL_CHECK で「:」を有効に修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/SC_CheckError.php

    r16282 r16305  
    513513            return; 
    514514        } 
    515         if( strlen($this->arrParam[$value[1]]) > 0 && !ereg( "^https?://+($|[a-zA-Z0-9_~=&\?\.\/-])+$", $this->arrParam[$value[1]] ) ) { 
     515        if( strlen($this->arrParam[$value[1]]) > 0 && !ereg( "^https?://+($|[a-zA-Z0-9_~=:&\?\.\/-])+$", $this->arrParam[$value[1]] ) ) { 
    516516            $this->arrErr[$value[1]] = "※ " . $value[0] . "を正しく入力してください。<br />"; 
    517517        } 
     
    910910        if($value === "false") { 
    911911            return true; 
    912         }        
     912        } 
    913913        return @eval("return " . $value . ";"); 
    914914    } 
Note: See TracChangeset for help on using the changeset viewer.