Inconsistent behavior when you get expired content by Id and contentUrl

Found in

EPiServer.ContentDeliveryApi 3.6.0

Fixed in

EPiServer.ContentDeliveryApi 3.9.0

(Or a related package)

Created

May 18, 2023

Updated

Oct 24, 2023

State

Closed, Fixed and tested


Description

Fixed an issue that caused inconsistent behavior when you called CD to get expired content by Id and contentUrl. The Id returned 404 not found and contentUrl returned the  expired page.