mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Make web.config match case insensitive
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user