diff --git a/src/main/kotlin/link/infra/packwiz/installer/request/handlers/RequestHandlerGithub.kt b/src/main/kotlin/link/infra/packwiz/installer/request/handlers/RequestHandlerGithub.kt index c27ba8e..9a2303a 100644 --- a/src/main/kotlin/link/infra/packwiz/installer/request/handlers/RequestHandlerGithub.kt +++ b/src/main/kotlin/link/infra/packwiz/installer/request/handlers/RequestHandlerGithub.kt @@ -65,7 +65,7 @@ class RequestHandlerGithub : RequestHandlerZip(true) { if (!("http" == scheme || "https" == scheme)) { return false } - return "github.com" == loc.host - // TODO: sanity checks, support for more github urls + // TODO: more match testing? + return "github.com" == loc.host && branchMatcherPattern.matcher(loc.path).matches() } } \ No newline at end of file