mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-25 23:18:44 -07:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 05099cce91 | |||
| 97f6522497 | |||
| e3bbcbe4a4 |
@@ -167,6 +167,11 @@ public static class DorkNetRouteOwnership
|
|||||||
public static IReadOnlyList<string> PublicSubdomains =>
|
public static IReadOnlyList<string> PublicSubdomains =>
|
||||||
ServiceRouteGroups
|
ServiceRouteGroups
|
||||||
.SelectMany(group => group.HostSubdomains)
|
.SelectMany(group => group.HostSubdomains)
|
||||||
|
// api.* is a shared public host: it owns no service by host and is
|
||||||
|
// dispatched by path (see ResolvePublicService's path-prefix pass),
|
||||||
|
// so it never appears in a group's HostSubdomains. It must still be
|
||||||
|
// whitelisted here or HostFiltering rejects every api.{apex} request.
|
||||||
|
.Append("api")
|
||||||
.Append(AdminHost)
|
.Append(AdminHost)
|
||||||
.Append("feed")
|
.Append("feed")
|
||||||
.Distinct(StringComparer.OrdinalIgnoreCase)
|
.Distinct(StringComparer.OrdinalIgnoreCase)
|
||||||
|
|||||||
Reference in New Issue
Block a user