Skip to content

Security related recipes Source Code Links broken #171

@DominikZig

Description

@DominikZig

It looks like the OpenRewrite Github Actions security related recipes source code links are missing the Recipe suffix, thus leading to broken links (404 pages).

It seems like these recipe links need to be suffixed with the Recipe suffix in the name? I also notice this naming convention does not seem to apply to non security related ones, e.g. AddCronTrigger.java. I'm guessing this is a new internal naming standard? Just something I observed.

What version of OpenRewrite are you using?

I am viewing the latest docs present on the website.

What is the smallest, simplest way to reproduce the problem?

On the following link: https://docs.openrewrite.org/recipes/github/security/cachepoisoningrecipe, click on the Github: CachePoisoning.java link under the 'Recipe source' header. Note this is just an example, as it seems to apply to all of the Github Action security related recipes.

What did you expect to see?

Expect to be taken to the actual source, in this case e.g https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/security/CachePoisoningRecipe.java

What did you see instead?

Leads to 404 broken link: https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/security/CachePoisoning.java

Are you interested in contributing a fix to OpenRewrite?

Yes, I'd be more than happy to open a PR to help fix this up if possible.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions