1
0
Fork 1
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:
Mackenzie Morgan 2025-02-06 00:32:42 -05:00
parent dc4e683f0a
commit 1f7a1bd72b

View file

@ -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;