Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions csharp/ql/lib/semmle/code/asp/WebConfig.qll
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ import csharp
* A `Web.config` file.
*/
class WebConfigXml extends XmlFile {
WebConfigXml() { this.getName().matches("%Web.config") }
WebConfigXml() { this.getName().toLowerCase().matches("%web.config") }
}

/**
* A `Web.config` transformation file.
*/
class WebConfigReleaseTransformXml extends XmlFile {
WebConfigReleaseTransformXml() { this.getName().matches("%Web.Release.config") }
WebConfigReleaseTransformXml() { this.getName().toLowerCase().matches("%web.release.config") }
}

/** A `<configuration>` tag in an ASP.NET configuration file. */
Expand Down
Loading