Added fix for #1535.

Whitespaces are now preserved in error messages

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3769 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2006-10-31 05:01:48 +00:00
parent 581dec2248
commit 8963f1d4e1

View file

@ -49,7 +49,7 @@ class ErrorHandler extends Object{
parent::__construct();
static $__previousError = null;
$allow = array('.', '/', '_');
$allow = array('.', '/', '_', ' ');
if(substr(PHP_OS,0,3) == "WIN") {
$allow = array_merge($allow, array('\\', ':') );
}