Skip to content

Fix root path regression for the Delivery API#19216

Merged
AndyButland merged 1 commit intov13/devfrom
v13/fix/delivery-api-root-path-regression
May 3, 2025
Merged

Fix root path regression for the Delivery API#19216
AndyButland merged 1 commit intov13/devfrom
v13/fix/delivery-api-root-path-regression

Conversation

@kjac
Copy link
Contributor

@kjac kjac commented May 2, 2025

Prerequisites

  • I have added steps to test this contribution in the description below

Description

#19063 has introduced a regression the Delivery API: It is no longer possible to fetch the route item by path (/).

image

This PR fixes it.

Additionally, #19063 introduced the new method IsResolvablePath(string path) on IApiContentPathResolver, as part a fix for handling file requests correctly. But since this handling is not necessary for V15+ due to the changes in caching, the fix has not been forward merged - nor should it. For good measure I've added an obsoletion message to the method in this PR 👍

Copy link
Contributor

@AndyButland AndyButland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch @kjac, thanks. I can confirm this fixes the issue from manual testing.

@AndyButland AndyButland merged commit 3caa43a into v13/dev May 3, 2025
20 checks passed
@AndyButland AndyButland deleted the v13/fix/delivery-api-root-path-regression branch May 3, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants