Cachet is now a Laravel 5 app

This commit is contained in:
Joseph Cohen
2015-03-20 18:30:45 -06:00
parent 7cfa158e68
commit b4ac66d727
338 changed files with 4164 additions and 4114 deletions

25
config/security.php Normal file
View File

@@ -0,0 +1,25 @@
<?php
/*
* This file is part of Laravel Security.
*
* (c) Graham Campbell <graham@mineuk.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return [
/*
|--------------------------------------------------------------------------
| Evil attributes
|--------------------------------------------------------------------------
|
| This defines the evil attributes and they will be always be removed from
| the input.
|
*/
'evil' => ['(?<!\w)on\w*', 'style', 'xmlns', 'formaction', 'form', 'xlink:href'],
];