Skip to content

Incorrect url generation for members in <a> hyperlink #878

@Btijmen

Description

@Btijmen

This issue applies to both the CNCF and LFAI landscapes, and I believe this is the result of url-generation in this upsteam app.

What happens?

The url in the a element for the members header is incorrect. On click the element functions as expected, but when opened in a new tab the link leads to a 404.

This happens in the members page when clicking the category link for silver/gold/platinum (CNCF) or associate/general/premier (LFAI) respectively. For clarity, here's a screen shot of the cncf page with the offending link highlighted in a red box:

Screenshot 2023-04-19 at 14 01 24

The hyperlink element looks like this:

<a data-type="internal" href="/card?category=platinum&amp;grouping=category" style="[abridged for legibility]">Platinum</a>

The href part is wrong, and should redirect to /card-mode rather than card.

This seems like a very simple fix and I'd be happy to fix it myself, but I have absolutely no experience in NodeJS and have been unable to find exactly where in the code this has to be fixed. If someone can either fix this, or direct me to the file that needs to be edited, that'd be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions