lolcat 1 주 전
부모
커밋
b328530951
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/frontend.php

+ 1 - 1
lib/frontend.php

@@ -780,7 +780,7 @@ class frontend{
 						// https://ihsoyct.github.io/?subreddit=selfhosted&backend=pullpush&mode=comments&sort=desc
 						elseif(
 							preg_match(
-								'/^\/r\/([^\/]+)\/(?:search|wiki|about)?(?:$|\?|&)/',
+								'/^\/r\/([^\/]+)\/(?:(?:search|wiki|about)\/?)?(?:$|\?|&)/',
 								$host["path"],
 								$slug
 							)