Predicate InsecureDownload::hasUnsafeExtension
Holds if str is a string that ends with an unsafe file extension.
Import path
import semmle.javascript.security.dataflow.InsecureDownloadCustomizationspredicate hasUnsafeExtension(string str)Holds if str is a string that ends with an unsafe file extension.
import semmle.javascript.security.dataflow.InsecureDownloadCustomizationspredicate hasUnsafeExtension(string str)