mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 04:35:24 +00:00
Added support for blank Request-URI which specifies no slash suffix (#2414)
This commit is contained in:
parent
16fe557398
commit
4dc98a1d95
@ -51,6 +51,9 @@ read_line:
|
||||
}
|
||||
|
||||
parts := strings.Split(s, " ")
|
||||
if len(parts) == 2 {
|
||||
parts = []string{parts[0], "", parts[1]}
|
||||
}
|
||||
if len(parts) < 3 && !unsafe {
|
||||
return nil, fmt.Errorf("malformed request supplied")
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user