diff --git a/.github/issue-report.md b/.github/issue-report.md index 21b96b3d..b72b4686 100644 --- a/.github/issue-report.md +++ b/.github/issue-report.md @@ -1,8 +1,8 @@ --- name: Issue report about: Create a report to help us improve -title: "[issue]" -labels: '' +title: "" +labels: 'Type:+Bug' assignees: '' --- @@ -10,9 +10,17 @@ assignees: '' **Describe the bug** A clear and concise description of what the bug is. -**Nuclei version** -Please share the version of the httpx you are running with `httpx -version` +**Environment details** +Please share the below details to help us quickly validate/replicate the issue. +- `httpx -version` +- `go version` +- `uname -a` -**Screenshot of the error or bug** -please add the screenshot showing bug or issue you are facing. + +**Error details** +Please copy-paste the error trace or details from terminal to help us quickly validate/replicate the issue. + +```bash + +``` \ No newline at end of file diff --git a/README.md b/README.md index 9069b588..6637042b 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ httpx is a fast and multi-purpose HTTP toolkit allow to run multiple probers usi httpx requires **go1.14+** to install successfully. Run the following command to get the repo - ```sh -▶ GO111MODULE=on go get -v github.com/projectdiscovery/httpx/cmd/httpx +GO111MODULE=on go get -v github.com/projectdiscovery/httpx/cmd/httpx ``` # Usage diff --git a/runner/banner.go b/runner/banner.go index aba93436..8a680d6d 100644 --- a/runner/banner.go +++ b/runner/banner.go @@ -8,11 +8,11 @@ const banner = ` / __ \/ __/ __/ __ \| / / / / / /_/ /_/ /_/ / | /_/ /_/\__/\__/ .___/_/|_| - /_/ v1.0.8 + /_/ v1.0.9 ` // Version is the current version of httpx -const Version = `v1.0.8` +const Version = `v1.0.9` // showBanner is used to show the banner to the user func showBanner() { diff --git a/runner/runner.go b/runner/runner.go index f93b1cab..fa6fe2ac 100644 --- a/runner/runner.go +++ b/runner/runner.go @@ -551,7 +551,10 @@ retry: domain = parts[0] customHost = parts[1] } - URL, _ := urlutil.Parse(domain) + URL, err := urlutil.Parse(domain) + if err != nil { + return Result{URL: domain, err: err} + } URL.Scheme = protocol if !strings.Contains(domain, URL.Port) {