Cachet/config/security.php

26 lines
650 B
PHP
Raw Permalink Normal View History

2015-03-20 18:30:45 -06:00
<?php
/*
* This file is part of Cachet.
2015-03-20 18:30:45 -06:00
*
2015-07-06 17:37:01 +01:00
* (c) Alt Three Services Limited
2015-03-20 18:30:45 -06:00
*
* 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.
|
*/
2015-05-25 19:19:03 +01:00
'evil' => ['(?<!\w)on\w*', 'style', 'xmlns', 'formaction', 'form', 'xlink:href', 'FSCommand', 'seekSegmentTime'],
2015-03-20 18:30:45 -06:00
];