mirror of https://github.com/daffainfo/nuclei.git
Fixed variable check regex
parent
ce13bf34d0
commit
92857497f3
|
@ -6,7 +6,7 @@ import (
|
|||
"strings"
|
||||
)
|
||||
|
||||
var unresolvedVariablesRegex = regexp.MustCompile(`\{\{(.+)\}\}`)
|
||||
var unresolvedVariablesRegex = regexp.MustCompile(`\{\{([^}]+)\}\}["'\)\}]*`)
|
||||
|
||||
// ContainsUnresolvedVariables returns an error with variable names if the passed
|
||||
// input contains unresolved {{<pattern-here>}} variables.
|
||||
|
|
Loading…
Reference in New Issue