mirror of
https://github.com/github/codeql.git
synced 2026-01-07 11:40:27 +01:00
16 lines
419 B
Plaintext
16 lines
419 B
Plaintext
import java
|
|
import semmle.code.java.security.FragmentInjectionQuery
|
|
import TestUtilities.InlineFlowTest
|
|
|
|
class EnableLegacy extends EnableLegacyConfiguration {
|
|
EnableLegacy() { exists(this) }
|
|
}
|
|
|
|
class Test extends InlineFlowTest {
|
|
override DataFlow::Configuration getValueFlowConfig() { none() }
|
|
|
|
override TaintTracking::Configuration getTaintFlowConfig() {
|
|
result instanceof FragmentInjectionTaintConf
|
|
}
|
|
}
|