File tree 4 files changed +21
-10
lines changed
4 files changed +21
-10
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
name : Issue report
3
3
about : Create a report to help us improve
4
- title : " [issue] "
5
- labels : ' '
4
+ title : " "
5
+ labels : ' Type:+Bug '
6
6
assignees : ' '
7
7
8
8
---
9
9
10
10
** Describe the bug**
11
11
A clear and concise description of what the bug is.
12
12
13
- ** Nuclei version **
14
- Please share the version of the httpx you are running with ` httpx -version `
13
+ ** Environment details **
14
+ Please share the below details to help us quickly validate/replicate the issue.
15
15
16
+ - ` httpx -version `
17
+ - ` go version `
18
+ - ` uname -a `
16
19
17
- ** Screenshot of the error or bug**
18
- please add the screenshot showing bug or issue you are facing.
20
+
21
+ ** Error details**
22
+ Please copy-paste the error trace or details from terminal to help us quickly validate/replicate the issue.
23
+
24
+ ``` bash
25
+
26
+ ```
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ httpx is a fast and multi-purpose HTTP toolkit allow to run multiple probers usi
62
62
httpx requires ** go1.14+** to install successfully. Run the following command to get the repo -
63
63
64
64
``` sh
65
- ▶ GO111MODULE=on go get -v github.com/projectdiscovery/httpx/cmd/httpx
65
+ GO111MODULE=on go get -v github.com/projectdiscovery/httpx/cmd/httpx
66
66
```
67
67
68
68
# Usage
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ const banner = `
8
8
/ __ \/ __/ __/ __ \| /
9
9
/ / / / /_/ /_/ /_/ / |
10
10
/_/ /_/\__/\__/ .___/_/|_|
11
- /_/ v1.0.8
11
+ /_/ v1.0.9
12
12
`
13
13
14
14
// Version is the current version of httpx
15
- const Version = `v1.0.8 `
15
+ const Version = `v1.0.9 `
16
16
17
17
// showBanner is used to show the banner to the user
18
18
func showBanner () {
Original file line number Diff line number Diff line change @@ -551,7 +551,10 @@ retry:
551
551
domain = parts [0 ]
552
552
customHost = parts [1 ]
553
553
}
554
- URL , _ := urlutil .Parse (domain )
554
+ URL , err := urlutil .Parse (domain )
555
+ if err != nil {
556
+ return Result {URL : domain , err : err }
557
+ }
555
558
URL .Scheme = protocol
556
559
557
560
if ! strings .Contains (domain , URL .Port ) {
You can’t perform that action at this time.
0 commit comments