mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update DiscoverController, fixes #2378
This commit is contained in:
parent
8b3aaaeea6
commit
8e7f4f9d88
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class DiscoverController extends Controller
|
|||
abort_if(!config('instance.discover.tags.is_public') && !$auth, 403);
|
||||
|
||||
$this->validate($request, [
|
||||
'hashtag' => 'required|alphanum|min:1|max:124',
|
||||
'hashtag' => 'required|string|min:1|max:124',
|
||||
'page' => 'nullable|integer|min:1|max:' . ($auth ? 29 : 10)
|
||||
]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue