CodeQL library for Ruby
codeql/ruby-all 0.8.15-dev (changelog, source)
Search

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)