mirror of
https://github.com/github/codeql.git
synced 2026-01-08 04:00:26 +01:00
16 lines
429 B
Plaintext
16 lines
429 B
Plaintext
import java
|
|
import TestUtilities.InlineFlowTest
|
|
import semmle.code.java.security.UnsafeContentUriResolutionQuery
|
|
|
|
class EnableLegacy extends EnableLegacyConfiguration {
|
|
EnableLegacy() { exists(this) }
|
|
}
|
|
|
|
class Test extends InlineFlowTest {
|
|
override DataFlow::Configuration getValueFlowConfig() { none() }
|
|
|
|
override TaintTracking::Configuration getTaintFlowConfig() {
|
|
result instanceof UnsafeContentResolutionConf
|
|
}
|
|
}
|