Files
nexusphp/app/Http/Middleware/TrimStrings.php

22 lines
408 B
PHP
Raw Normal View History

2021-04-02 19:48:41 +08:00
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
class TrimStrings extends Middleware
{
/**
* The names of the attributes that should not be trimmed.
*
* @var array
*/
protected $except = [
'current_password',
'password',
'password_confirmation',
2022-03-20 22:14:00 +08:00
'peer_id',
'info_hash',
2021-04-02 19:48:41 +08:00
];
}