Merge branch 'main' into henrymercer/bump-minimum-codeql-2.16.6

This commit is contained in:
Arthur Baars
2025-06-05 13:41:07 +02:00
committed by GitHub
1582 changed files with 4418 additions and 229243 deletions

View File

@@ -18,6 +18,10 @@ test("sanitizeArtifactName", (t) => {
debugArtifacts.sanitizeArtifactName("*m)a&n^y%i££n+v!a:l[i]d"),
"manyinvalid",
);
t.deepEqual(
debugArtifacts.sanitizeArtifactName("\\foo\\bar//baz"),
"foobarbaz",
);
});
// These next tests check the correctness of the logic to determine whether or not

View File

@@ -28,7 +28,7 @@ import {
} from "./util";
export function sanitizeArtifactName(name: string): string {
return name.replace(/[^a-zA-Z0-9_\\-]+/g, "");
return name.replace(/[^a-zA-Z0-9_-]+/g, "");
}
/**

View File

@@ -1,6 +1,6 @@
{
"bundleVersion": "codeql-bundle-v2.21.3",
"cliVersion": "2.21.3",
"priorBundleVersion": "codeql-bundle-v2.21.2",
"priorCliVersion": "2.21.2"
"bundleVersion": "codeql-bundle-v2.21.4",
"cliVersion": "2.21.4",
"priorBundleVersion": "codeql-bundle-v2.21.3",
"priorCliVersion": "2.21.3"
}