Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error where report page XML links are malformed #868

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

chrisarridge
Copy link
Contributor

This PR provides a hot fix for issue #862 where links to XML files on the report page were built as an internal link on the validator site. Think this change in behaviour is due to the removal of <StyledLink> which checked for external URLs first and used :href instead of :to in those cases. Changed this <RouterLink> to set the link using :href as we know links to XML files will be external to the validator. This PR does not check the rest of the application for similar instances.

Fixes issue #862 where
links to XML files on the report page were built as an internal link
on the validator site.  Think this change in behaviour is due to
the removal of <StyledLink> which checked for external URLs first
and used :href instead of :to in those cases.  Changed this
<RouterLink> to set the link using :href as we know it's an external
link.
@chrisarridge chrisarridge merged commit 7c40d8b into develop Jan 22, 2025
2 checks passed
@chrisarridge chrisarridge deleted the fix-validation-report-xml-url branch January 22, 2025 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants