Skip to content

Commit ff317e6

Browse files
committed
Remove http:// in package path
1 parent f32b488 commit ff317e6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ql/src/semmle/go/security/ExternalAPIs.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ private import Logrus
1717
abstract class SafeExternalAPIFunction extends Function { }
1818

1919
private predicate isDefaultSafePackage(Package package) {
20-
package.getPath() in [
21-
"time", "unicode/utf8", package("http://gopkg.in/go-playground/validator", "")
22-
]
20+
package.getPath() in ["time", "unicode/utf8", package("gopkg.in/go-playground/validator", "")]
2321
}
2422

2523
/** The default set of "safe" external APIs. */

0 commit comments

Comments
 (0)