浏览代码

Update DiscoverController, fixes #2378

Daniel Supernault 4 年之前
父节点
当前提交
8e7f4f9d88
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Http/Controllers/DiscoverController.php

+ 1 - 1
app/Http/Controllers/DiscoverController.php

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