Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export async function performEnhancedPageLoad(internalDestinationHref: string, i
}
}

if (isSuccessResponse && response.headers.get('blazor-enhanced-nav') !== 'allow') {
if (isSuccessResponse && response.headers.get('blazor-enhanced-nav')?.toLowerCase() !== 'allow') {
// This appears to be a non-Blazor-Endpoint success response. We don't want to use enhanced nav
// because the content we receive is not designed to be patched into an existing frame,
// and may be incompatible with the Blazor JS that's already here.
Expand Down
Loading