Skip to content

Commit 8ba7ac6

Browse files
Update javascript/ql/src/experimental/Security/CWE-942/CorsPermissiveConfigurationCustomizations.qll
Co-authored-by: Erik Krogh Kristensen <[email protected]>
1 parent 4be5cf4 commit 8ba7ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/experimental/Security/CWE-942/CorsPermissiveConfigurationCustomizations.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module CorsPermissiveConfiguration {
5959
*/
6060
class CorsApolloServer extends Sink, DataFlow::ValueNode {
6161
CorsApolloServer() {
62-
exists(Apollo::ApolloServer agql |
62+
exists(ApolloServer agql |
6363
this =
6464
agql.getOptionArgument(0, "cors").getALocalSource().getAPropertyWrite("origin").getRhs()
6565
)

0 commit comments

Comments
 (0)