You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mg-aceik Thank you for submitting your contribution! I've added a ticket containing all the details. It has been added to our internal backlog for thorough review
This has been automatically marked as stale because it has not had recent activity. It will be closed if there is no further activity within 30 days. You may add comments or the 'keep' label to prevent it from closing. Thank you for your contributions.
Describe the Bug
The internalLinkMatcher default matches media URLs which causes issues with query strings
jss/packages/sitecore-jss-nextjs/src/components/Link.tsx
Line 26 in d4bc9e9
To Reproduce
Set the field to be a media link with query params.
Expected Behavior
Logic should not be calling down to NextLink, but it is.
Possible Fix
const internalLinkMatcher = /^\/(?!(-\/media|-\/jssmedia))/;
Provide environment information
The text was updated successfully, but these errors were encountered: