#14002 External File Storage: reject "." and ".." path segments
External File Storage now rejects any path where a whole segment is "." or "..", for all operations and connectors, so calls like DeleteDirectory('A/B/..') no longer act on folder A. Dots inside names stay valid. Callers that pass relative segments now get an error.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-11-16 by jorisvanduyse (community contribution) · 2 files (+96 -0), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- CheckPath in External File Storage Impl. rejects whole “.” or “..” segments with a new error
- Stops connectors such as SharePoint from resolving relative segments and acting on the wrong folder
- Dots inside names, such as v1..2.pdf, ..hidden or a., remain valid
- Public API behavior change: try functions return false for such paths, so outside callers must pass normalized paths
- New test codeunit 134754 File Storage Path Test covers the rejected and allowed cases
- Breaking: existing extensions can stop compiling or working.
AL objects touched
- Codeunit 9455 “External File Storage Impl.”, System Application: modified
Context
- Fixes: #12611 [Bug]: External File Storage - Delete in Storage Browser on “..” entry deletes the whole base folder (closed)
- Work items: AB#659509
- Labels: ADO: Sync, AL: System Application, From Fork, Team: Integrations
- Systems: platform
- From the description: “Rejects a path when a whole segment is “.” or “..”, with a clear error.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Store Document Attachments in External File Storage — possibly related: Documents external file storage configuration for document attachments, covering file path handling and security. (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).