mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
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:
parent
581dec2248
commit
8963f1d4e1
1 changed files with 2 additions and 2 deletions
|
@ -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('\\', ':') );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue