mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-03-13 07:33:22 +00:00
accept bare domains without http scheme in domain block controller
Fixes #5645
This commit is contained in:
parent
dc4e683f0a
commit
1f7a1bd72b
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class DomainBlockController extends Controller
|
|||
abort_if(!$request->user(), 403);
|
||||
|
||||
$this->validate($request, [
|
||||
'domain' => 'required|active_url|min:1|max:120'
|
||||
'domain' => 'required|min:1|max:120'
|
||||
]);
|
||||
|
||||
$pid = $request->user()->profile_id;
|
||||
|
|
Loading…
Add table
Reference in a new issue