We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16f3fc6 commit b9acaa0Copy full SHA for b9acaa0
csharp/ql/lib/semmle/code/asp/WebConfig.qll
@@ -8,14 +8,14 @@ import csharp
8
* A `Web.config` file.
9
*/
10
class WebConfigXml extends XmlFile {
11
- WebConfigXml() { this.getName().matches("%Web.config") }
+ WebConfigXml() { this.getName().toLowerCase().matches("%web.config") }
12
}
13
14
/**
15
* A `Web.config` transformation file.
16
17
class WebConfigReleaseTransformXml extends XmlFile {
18
- WebConfigReleaseTransformXml() { this.getName().matches("%Web.Release.config") }
+ WebConfigReleaseTransformXml() { this.getName().toLowerCase().matches("%web.release.config") }
19
20
21
/** A `<configuration>` tag in an ASP.NET configuration file. */
0 commit comments