mitre-attack / mitre-attack/attack-website
Redirect Subtechnique pages with dot separator instead of only forward slash
Open
@adpare is already working on this.
Since Jul 28, 2023.
- Dominant language
- HTML
- Stars
- 588
- Forks
- 174
- Avg merge
- 13d 4h
- Merged PRs (30d)
- 2
Description
It would be nice to be able to have redirection URLs set up for subtechniques such that their dot separator would go to the correct page. For example:
- T148 page: https://attack.mitre.org/techniques/T1548/
- T148.001 page: https://attack.mitre.org/techniques/T1548/001/
- Proposed redirect URL: https://attack.mitre.org/techniques/T1548.001/ (would go to main T148/001/ page above)
This should be able to be accomplished between a few sections of the code base as follows:
- Redirections module: https://github.com/mitre-attack/attack-website/tree/develop/modules/redirections
- Techniques module that generates redirections: https://github.com/mitre-attack/attack-website/blob/develop/modules/techniques/techniques.py#L24-L27
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.