#12617 [Security] Move URL checks from Web Request Helper to System Application Uri module
URL validation moved from Web Request Helper using DotNet System.Uri to native System Application Uri module across multiple apps, with obsolete markers for deprecated procedures.
- 22files
- 21AL files
- 19objects
Pull request · merged into main (BC30) on 2026-10-13 by darjoo · 22 files (+281 -113), 21 AL · refactor · tier official · reviewed (checked by Opus)
What changed
- Migrated URL validation away from DotNet with IsValidUri, IsValidUriWithoutProtocol, IsSecureHttpUrl, IsHttpUrl, and GetHostNameFromUrl
- System Application Uri module now used directly by all callers in Base App, CZ, NA, NO, and specialty apps
- Five helper procedures reimplemented on top of Uri codeunit and marked obsolete for CLEAN30
- Removed unused System.Integration directives across multiple files
- Semantics preserved: absolute URI validation, scheme checking, same error messages
AL objects touched
- Codeunit 31031 “SOAP WS Request Management CZL”, CoreLocalizationPack (CZ layer): modified
- Table 1450 “MS - Yodlee Bank Service Setup”, EnvestnetYodleeBankFeeds (CA layer): modified
- Codeunit 10687 “Elec. VAT Connection Mgt.”, ElectronicVATSubmission (NO layer): modified
- Page 20105 “AMC Bank Assisted Setup”, AMCBanking365Fundamentals: modified
- Table 20101 “AMC Banking Setup”, AMCBanking365Fundamentals: modified
- Codeunit 6905 “Import Expense User”, ExpenseAgent: modified
- Codeunit 1070 “MS - PayPal Standard Mgt.”, PayPalPaymentsStandard: modified
- Page 1803 “Assisted Company Setup Wizard”, Base Application: modified
- Table 1062 “Payment Reporting Argument”, Base Application: modified
- Table 5065 “Interaction Log Entry”, Base Application: modified
- Table 1650 “Curr. Exch. Rate Update Setup”, Base Application: modified
- Codeunit 419 “File Management”, Base Application: modified
- Codeunit 1299 “Web Request Helper”, Base Application: modified
- Table 9165 “Support Contact Information”, Base Application: modified
- Table 1140 “OAuth 2.0 Setup”, Base Application: modified
- Codeunit 1290 “SOAP Web Service Request Mgt.”, Base Application: modified
- Table 1523 “Workflow Step Argument”, Base Application: modified
- Table 1275 “Doc. Exch. Service Setup”, Base Application: modified
- Codeunit 3060 “Uri”, System Application: modified
src/Layers/GB/BaseApp/Utilities/AssistedCompanySetupWizard.Page.al: modified, not in the BC30 snapshot
Obsoletions
- Web Request Helper: IsValidUri, replaced by Uri.IsValidUri from System Application
- Web Request Helper: IsValidUriWithoutProtocol, replaced by Uri.IsValidUri from System Application
- Web Request Helper: IsSecureHttpUrl, replaced by Uri.GetScheme from System Application
- Web Request Helper: IsHttpUrl, replaced by Uri.GetScheme from System Application
- Web Request Helper: GetHostNameFromUrl, replaced by Uri.GetHost from System Application
Context
- Work items: AB#647963
- Labels: AL: Apps (W1), AL: System Application, Ownership: Needs Review, Team: Other
- Systems: finance, integration, development, platform, administration, copilot, crm
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Create Interactions for Contacts and Segments — possibly related: touches Table 5065 “Interaction Log Entry”
- Trials and subscriptions — possibly related: touches Page 1803 “Assisted Company Setup Wizard”
- Banking Setup in Business Central — possibly related: Covers banking setup including payment exports and file format configuration. (model-linked)
- Using OAuth to authenticate Business Central Web Services — possibly related: Explains OAuth authentication for Business Central web services. (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).