#2382 Fix dependency artifact pattern for branch names with glob-special characters
Fixed a bug where dependency artifact downloads failed silently when branch names contained special characters that minimatch interprets, such as commas, braces, or parentheses.
- 3files
- 1AL files
- 0objects
Pull request · merged into main on 2026-09-30 by AlexanderMarcher · 3 files (+48 -1), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Branch names with special characters (comma, braces, parentheses, exclamation, plus, at, hash, bracket) were incorrectly interpreted by minimatch glob patterns
- These characters caused artifact download to match zero artifacts and silently fall back to main branch artifacts
- Special characters in branch names are now backslash-escaped in the minimatch pattern to be treated literally
- Artifact upload, baseline lookup, and release lookup are unaffected by this change
- Tests added to prevent regression
- Behaviour changes for users or extensions.
AL objects touched
Actions/DownloadProjectDependencies/DownloadProjectDependencies.psm1: modified, not in the BC? snapshot
Context
- Systems: development, platform
Source: metadata of a merged pull request in microsoft/AL-Go (al-go): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).