Closed girishkg closed 7 years ago
Need to change line "102" on "github.go" file
regex, regexErr := regexp.Compile("https?://(?:www\\.)?github.com/(.+?)/(.+?)(?:$|\\?|#|/)")
@girishkg Thanks for the issue report! I actually didn't realize github repo URLs could have subdomains, and, as you pointed out in your second comment, the code assumes all github repos are at www.github.com
or github.com
.
Can you give an example of a (presumably public) repo that has a subdomain in the name other than www
? If we can determine this is a legitimate use case, I'd be happy to add support for this.
Closing due to inactivity. @girishkg Feel free to re-open if applicable.
fetch is not working if there are any subdomain in the "--repo" option fetch --repo="https://example.github.com/foo/bar" --tag="0.1.5" --release-asset="foo.exe" /tmp
The error is:
"example" SUB domain is used here for demonstration purpose.