fix(media): accept mixed-case local file URLs (#121226)

This commit is contained in:
Peter Steinberger
2026-08-09 16:40:55 -07:00
committed by GitHub
parent 727e48240b
commit 3bdfd60caa
12 changed files with 241 additions and 6 deletions
@@ -115,6 +115,29 @@ describe("detectChangedScope Windows routing", () => {
}
});
it("routes web and Teams file URL handling to Windows", () => {
for (const fileUrlPath of [
"src/media/local-media-path.ts",
"src/media/local-media-path.windows.test.ts",
"src/media/local-roots.ts",
"src/media/local-roots.test.ts",
"src/media/web-media.ts",
"src/media/web-media.file-url.windows.test.ts",
"src/channels/inbound-event/media.ts",
"src/channels/inbound-event/media.test.ts",
"src/gateway/managed-image-attachments.ts",
"src/gateway/managed-image-attachments.test.ts",
"extensions/msteams/src/media-helpers.ts",
"extensions/msteams/src/media-helpers.test.ts",
"extensions/msteams/src/messenger.test.ts",
]) {
expect(detectChangedScope([fileUrlPath]), fileUrlPath).toMatchObject({
runNode: true,
runWindows: true,
});
}
});
it("routes SecretRef path-security changes and native fixtures to Windows", () => {
for (const secretRefPath of [
"src/commands/doctor-gateway-auth-token.ts",