mirror of
https://github.com/packwiz/packwiz-installer.git
synced 2025-04-19 21:16:30 +02:00
Fix RequestHandlerGithub heuristics, so that Github Releases files work properly
This commit is contained in:
parent
1d5a787b02
commit
92b44352b3
@ -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()
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user