This commit is contained in:
2026-09-08 04:27:19 -04:00
parent b37802e8f1
commit b328530951
+1 -1
View File
@@ -780,7 +780,7 @@ class frontend{
// https://ihsoyct.github.io/?subreddit=selfhosted&backend=pullpush&mode=comments&sort=desc // https://ihsoyct.github.io/?subreddit=selfhosted&backend=pullpush&mode=comments&sort=desc
elseif( elseif(
preg_match( preg_match(
'/^\/r\/([^\/]+)\/(?:search|wiki|about)?(?:$|\?|&)/', '/^\/r\/([^\/]+)\/(?:(?:search|wiki|about)\/?)?(?:$|\?|&)/',
$host["path"], $host["path"],
$slug $slug
) )