Try our conversational search powered by Generative AI!

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

(Or a related package)

Created

May 27, 2022

Updated

Jan 13, 2023

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.