mirror of https://github.com/daffainfo/nuclei.git
Merge branch 'dev' of https://github.com/projectdiscovery/nuclei
commit
e92a70da19
|
@ -4,6 +4,7 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- '**.go'
|
- '**.go'
|
||||||
|
- 'v2/'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
@ -10,7 +10,7 @@ import (
|
||||||
// are similar enough to be considered one and can be checked by
|
// are similar enough to be considered one and can be checked by
|
||||||
// just adding the matcher/extractors for the request and the correct IDs.
|
// just adding the matcher/extractors for the request and the correct IDs.
|
||||||
func (request *Request) CanCluster(other *Request) bool {
|
func (request *Request) CanCluster(other *Request) bool {
|
||||||
if len(request.Payloads) > 0 || len(request.Raw) > 0 || len(request.Body) > 0 || request.Unsafe || request.NeedsRequestCondition() || request.Name != "" {
|
if len(request.Payloads) > 0 || len(request.Fuzzing) > 0 || len(request.Raw) > 0 || len(request.Body) > 0 || request.Unsafe || request.NeedsRequestCondition() || request.Name != "" {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if request.Method != other.Method ||
|
if request.Method != other.Method ||
|
||||||
|
|
Loading…
Reference in New Issue