Link Validation job is throwing NullReferenceException when validating relative external link

Found in

EPiServer.CMS.Core 12.4.0

Fixed in

EPiServer.CMS.Core 12.7.0

Created

May 27, 2022

Updated

Jun 22, 2022

Area

CMS Core

State

Closed, Fixed and tested


Description

Fixed a bug in the Validation job that was introduced in .NET 6 support where WebRequest was made obsolete and replaced with HttpRequest instead. When validating a relative external link, e.g. /a/working/relative/link, it threw a NullReferenceException.