diff --git a/ql/lib/semmle/go/dataflow/ExternalFlow.qll b/ql/lib/semmle/go/dataflow/ExternalFlow.qll index 7a78aa2ea50..31d96d1495e 100644 --- a/ql/lib/semmle/go/dataflow/ExternalFlow.qll +++ b/ql/lib/semmle/go/dataflow/ExternalFlow.qll @@ -255,7 +255,7 @@ module CsvValidation { or summaryModel(namespace, type, _, name, signature, ext, _, _, _) and pred = "summary" | - not namespace.regexpMatch("[a-zA-Z0-9_\\./]+") and + not namespace.regexpMatch("[a-zA-Z0-9_\\./]*") and msg = "Dubious namespace \"" + namespace + "\" in " + pred + " model." or not type.regexpMatch("[a-zA-Z0-9_\\$<>]*") and