File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ func requestMidPaths(options RequestOptions) {
378378 x := strings .Split (options .uri , "/" )
379379 var uripath string
380380
381- parsedURL := rawurlparser .RawURLParse (options .uri )
381+ parsedURL , err := rawurlparser .RawURLParse (options .uri )
382382 if err != nil {
383383 log .Println (err )
384384 }
@@ -482,11 +482,11 @@ func parseCurlOutput(output string, httpVersion string) Result {
482482func requestPathCaseSwitching (options RequestOptions ) {
483483 color .Cyan ("\n ━━━━━━━━━━━━ PATH CASE SWITCHING ━━━━━━━━━━━━━" )
484484
485- parsedURL := rawurlparser .RawURLParse (options .uri )
486- // if err != nil {
487- // log.Println(err)
488- // return
489- // }
485+ parsedURL , err := rawurlparser .RawURLParse (options .uri )
486+ if err != nil {
487+ log .Println (err )
488+ return
489+ }
490490
491491 baseuri := parsedURL .Scheme + "://" + parsedURL .Host
492492 uripath := strings .Trim (parsedURL .Path , "/" )
You can’t perform that action at this time.
0 commit comments