dedicated server api update
This commit is contained in:
		@@ -4250,9 +4250,9 @@ class Connection
 | 
			
		||||
		if(is_string($filename))
 | 
			
		||||
		{
 | 
			
		||||
			$filename = $this->stripBom($filename);
 | 
			
		||||
			if(mb_check_encoding($filename, 'ascii'))
 | 
			
		||||
				return $filename;
 | 
			
		||||
			return "\xEF\xBB\xBF".$filename;
 | 
			
		||||
			if(preg_match('/[^\x09\x0A\x0D\x20-\x7E]/', $filename))
 | 
			
		||||
				return "\xEF\xBB\xBF".$filename;
 | 
			
		||||
			return $filename;
 | 
			
		||||
		}
 | 
			
		||||
		return array_map(array($this, 'secureUtf8'), $filename);
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
@@ -34,6 +34,7 @@ class FaultException extends Exception
 | 
			
		||||
				return new LockedFeatureException($faultString, $faultCode);
 | 
			
		||||
			case 'Login or Uid unknown.':
 | 
			
		||||
			case 'Login unknown.':
 | 
			
		||||
			case 'Payer login unknown.':
 | 
			
		||||
				return new UnknownPlayerException($faultString, $faultCode);
 | 
			
		||||
			case 'The player is not a spectator':
 | 
			
		||||
			case 'The player is not a spectator.':
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user