mirror of
https://github.com/github/codeql.git
synced 2026-01-29 22:32:58 +01:00
Remove http:// in package path
This commit is contained in:
@@ -17,9 +17,7 @@ private import Logrus
|
||||
abstract class SafeExternalAPIFunction extends Function { }
|
||||
|
||||
private predicate isDefaultSafePackage(Package package) {
|
||||
package.getPath() in [
|
||||
"time", "unicode/utf8", package("http://gopkg.in/go-playground/validator", "")
|
||||
]
|
||||
package.getPath() in ["time", "unicode/utf8", package("gopkg.in/go-playground/validator", "")]
|
||||
}
|
||||
|
||||
/** The default set of "safe" external APIs. */
|
||||
|
||||
Reference in New Issue
Block a user