---
id: change/bcapps/12617
type: change
title: "#12617 [Security] Move URL checks from Web Request Helper to System Application Uri module"
summary: 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.
tier: official
language: en
tags:
  - refactor
  - main
  - bc30
  - codeunit soap ws request management czl
  - table ms - yodlee bank service setup
  - codeunit elec. vat connection mgt.
  - page amc bank assisted setup
  - table amc banking setup
  - codeunit import expense user
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-16T01:17:25.385Z"
  flags: []
generated:
  at: "2026-11-05T00:14:20.359Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: f55aef7041c5c626dc4d41286dc568dfd5899016
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12617
    title: "microsoft/BCApps#12617: [Security] Move URL checks from Web Request Helper to System Application Uri module"
    date: "2026-10-13"
    commit: f55aef7041c5c626dc4d41286dc568dfd5899016
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/31031-cz
    - object/table/1450-ca
    - object/codeunit/10687-no
    - object/page/20105
    - object/table/20101
    - object/codeunit/6905
    - object/codeunit/1070
    - object/page/1803
    - object/table/1062
    - object/table/5065
    - object/table/1650
    - object/codeunit/419
    - object/codeunit/1299
    - object/table/9165
    - object/table/1140
    - object/codeunit/1290
    - object/table/1523
    - object/table/1275
    - object/codeunit/3060
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/marketing-how-create-interactions
      title: Create Interactions for Contacts and Segments
      label: possibly related
      why: touches Table 5065 "Interaction Log Entry"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/administration/trials-subscriptions
      title: Trials and subscriptions
      label: possibly related
      why: touches Page 1803 "Assisted Company Setup Wizard"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/bank-setup-banking
      title: Banking Setup in Business Central
      label: possibly related
      why: Covers banking setup including payment exports and file format configuration.
      by: model
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/webservices/authenticate-web-services-using-oauth
      title: Using OAuth to authenticate Business Central Web Services
      label: possibly related
      why: Explains OAuth authentication for Business Central web services.
      by: model
number: 12617
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12617
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-13T13:49:23Z"
author: darjoo
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "AL: System Application"
  - "Ownership: Needs Review"
  - "Team: Other"
change_class: code
change_kind: refactor
behavior_change: false
breaking: false
files:
  count: 22
  additions: 281
  deletions: 113
  al: 21
apps:
  - AMCBanking365Fundamentals
  - Base Application
  - CoreLocalizationPack
  - ElectronicVATSubmission
  - EnvestnetYodleeBankFeeds
  - ExpenseAgent
  - PayPalPaymentsStandard
  - System Application
objects_touched:
  - key: codeunit/31031
    page: codeunit/31031-cz
    type: codeunit
    id: 31031
    name: SOAP WS Request Management CZL
    app: CoreLocalizationPack
    status: modified
  - key: table/1450
    page: table/1450-ca
    type: table
    id: 1450
    name: MS - Yodlee Bank Service Setup
    app: EnvestnetYodleeBankFeeds
    status: modified
  - key: codeunit/10687
    page: codeunit/10687-no
    type: codeunit
    id: 10687
    name: Elec. VAT Connection Mgt.
    app: ElectronicVATSubmission
    status: modified
  - key: page/20105
    page: page/20105
    type: page
    id: 20105
    name: AMC Bank Assisted Setup
    app: AMCBanking365Fundamentals
    status: modified
  - key: table/20101
    page: table/20101
    type: table
    id: 20101
    name: AMC Banking Setup
    app: AMCBanking365Fundamentals
    status: modified
  - key: codeunit/6905
    page: codeunit/6905
    type: codeunit
    id: 6905
    name: Import Expense User
    app: ExpenseAgent
    status: modified
  - key: codeunit/1070
    page: codeunit/1070
    type: codeunit
    id: 1070
    name: MS - PayPal Standard Mgt.
    app: PayPalPaymentsStandard
    status: modified
  - key: page/1803
    page: page/1803
    type: page
    id: 1803
    name: Assisted Company Setup Wizard
    app: Base Application
    status: modified
  - key: table/1062
    page: table/1062
    type: table
    id: 1062
    name: Payment Reporting Argument
    app: Base Application
    status: modified
  - key: table/5065
    page: table/5065
    type: table
    id: 5065
    name: Interaction Log Entry
    app: Base Application
    status: modified
  - key: table/1650
    page: table/1650
    type: table
    id: 1650
    name: Curr. Exch. Rate Update Setup
    app: Base Application
    status: modified
  - key: codeunit/419
    page: codeunit/419
    type: codeunit
    id: 419
    name: File Management
    app: Base Application
    status: modified
  - key: codeunit/1299
    page: codeunit/1299
    type: codeunit
    id: 1299
    name: Web Request Helper
    app: Base Application
    status: modified
  - key: table/9165
    page: table/9165
    type: table
    id: 9165
    name: Support Contact Information
    app: Base Application
    status: modified
  - key: table/1140
    page: table/1140
    type: table
    id: 1140
    name: OAuth 2.0 Setup
    app: Base Application
    status: modified
  - key: codeunit/1290
    page: codeunit/1290
    type: codeunit
    id: 1290
    name: SOAP Web Service Request Mgt.
    app: Base Application
    status: modified
  - key: table/1523
    page: table/1523
    type: table
    id: 1523
    name: Workflow Step Argument
    app: Base Application
    status: modified
  - key: table/1275
    page: table/1275
    type: table
    id: 1275
    name: Doc. Exch. Service Setup
    app: Base Application
    status: modified
  - key: codeunit/3060
    page: codeunit/3060
    type: codeunit
    id: 3060
    name: Uri
    app: System Application
    status: modified
objects_unjoined:
  - path: src/Layers/GB/BaseApp/Utilities/AssistedCompanySetupWizard.Page.al
    status: modified
    reason: not-in-snapshot
obsoletions:
  - object: Web Request Helper
    member: IsValidUri
    replacement: Uri.IsValidUri from System Application
  - object: Web Request Helper
    member: IsValidUriWithoutProtocol
    replacement: Uri.IsValidUri from System Application
  - object: Web Request Helper
    member: IsSecureHttpUrl
    replacement: Uri.GetScheme from System Application
  - object: Web Request Helper
    member: IsHttpUrl
    replacement: Uri.GetScheme from System Application
  - object: Web Request Helper
    member: GetHostNameFromUrl
    replacement: Uri.GetHost from System Application
backports: []
fixes_issues: []
work_items:
  - 647963
systems:
  - finance
  - integration
  - development
  - platform
  - administration
  - copilot
  - crm
quote: null
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #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.

[Pull request](https://github.com/microsoft/BCApps/pull/12617) · 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"](../../objects/codeunit/31031-cz.md), CoreLocalizationPack (CZ layer): modified
- [Table 1450 "MS - Yodlee Bank Service Setup"](../../objects/table/1450-ca.md), EnvestnetYodleeBankFeeds (CA layer): modified
- [Codeunit 10687 "Elec. VAT Connection Mgt."](../../objects/codeunit/10687-no.md), ElectronicVATSubmission (NO layer): modified
- [Page 20105 "AMC Bank Assisted Setup"](../../objects/page/20105.md), AMCBanking365Fundamentals: modified
- [Table 20101 "AMC Banking Setup"](../../objects/table/20101.md), AMCBanking365Fundamentals: modified
- [Codeunit 6905 "Import Expense User"](../../objects/codeunit/6905.md), ExpenseAgent: modified
- [Codeunit 1070 "MS - PayPal Standard Mgt."](../../objects/codeunit/1070.md), PayPalPaymentsStandard: modified
- [Page 1803 "Assisted Company Setup Wizard"](../../objects/page/1803.md), Base Application: modified
- [Table 1062 "Payment Reporting Argument"](../../objects/table/1062.md), Base Application: modified
- [Table 5065 "Interaction Log Entry"](../../objects/table/5065.md), Base Application: modified
- [Table 1650 "Curr. Exch. Rate Update Setup"](../../objects/table/1650.md), Base Application: modified
- [Codeunit 419 "File Management"](../../objects/codeunit/419.md), Base Application: modified
- [Codeunit 1299 "Web Request Helper"](../../objects/codeunit/1299.md), Base Application: modified
- [Table 9165 "Support Contact Information"](../../objects/table/9165.md), Base Application: modified
- [Table 1140 "OAuth 2.0 Setup"](../../objects/table/1140.md), Base Application: modified
- [Codeunit 1290 "SOAP Web Service Request Mgt."](../../objects/codeunit/1290.md), Base Application: modified
- [Table 1523 "Workflow Step Argument"](../../objects/table/1523.md), Base Application: modified
- [Table 1275 "Doc. Exch. Service Setup"](../../objects/table/1275.md), Base Application: modified
- [Codeunit 3060 "Uri"](../../objects/codeunit/3060.md), 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](https://learn.microsoft.com/dynamics365/business-central/marketing-how-create-interactions) — possibly related: touches Table 5065 "Interaction Log Entry"
- [Trials and subscriptions](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/administration/trials-subscriptions) — possibly related: touches Page 1803 "Assisted Company Setup Wizard"
- [Banking Setup in Business Central](https://learn.microsoft.com/dynamics365/business-central/bank-setup-banking) — possibly related: Covers banking setup including payment exports and file format configuration. (model-linked)
- [Using OAuth to authenticate Business Central Web Services](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/webservices/authenticate-web-services-using-oauth) — 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).
