Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for Ruby
codeql/ruby-all 4.1.6 (changelog, source)

Predicate InsecureDownload::hasUnsafeExtension

Holds if str is a string that ends with an unsafe file extension.

Import path

import codeql.ruby.security.InsecureDownloadCustomizations
predicate hasUnsafeExtension(string str)