File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/main/kotlin/org/evomaster/core/search/gene/utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -918,14 +918,14 @@ object GeneUtils {
918
918
919
919
920
920
fun <K : Gene > getAllFields (params : List <Param >, klass : Class <K >) : List <Gene >{
921
- // TODO: PathParam get the StringGene but the wrapper CustomMutationRateGene
922
- // name isn't the same as StringGene. Name: d_
921
+
923
922
return params.flatMap { p ->
924
923
if (p is HeaderParam || p is QueryParam || p is BodyParam || p is PathParam ){
925
924
// Note: PathParam was explicitly excluded, as not really representing possible fields.
926
925
// Added to work with SSRF detection
927
926
getAllFields(p.primaryGene(), klass)
928
927
} else {
928
+ // PathParam are explicitly excluded, as not really representing possible fields
929
929
listOf ()
930
930
}
931
931
}
You can’t perform that action at this time.
0 commit comments