OWASP / CheatSheetSeries

The OWASP Cheat Sheet Series was created to provide a concise collection of high value information on specific application security topics.
https://cheatsheetseries.owasp.org
Creative Commons Attribution Share Alike 4.0 International
27.1k stars 3.8k forks source link

Shortlinks for cheatsheets #1300

Open tghosth opened 5 months ago

tghosth commented 5 months ago

Does the cheatsheet site have a mechanism for shorter links, e.g.

https://cheatsheetseries.owasp.org/SSRF

would redirect to:

https://cheatsheetseries.owasp.org/cheatsheets/Server_Side_Request_Forgery_Prevention_Cheat_Sheet.html

jmanico commented 5 months ago

We do not have that set up but it would be easy to do so.

szh commented 5 months ago

Yes, we could add this in https://github.com/OWASP/CheatSheetSeries/blob/master/scripts/Generate_Site_mkDocs.sh#L98, though we should probably refactor this into something more maintainable.

tghosth commented 5 months ago

Seems like it needs a loop or something there...

szh commented 5 months ago

Yes. Maybe even have it pull the values from a yaml files or something.

sambhavnoobcoder commented 5 months ago

hey @tghosth @szh , is this issue still open ? I would like to contribute to it .

szh commented 5 months ago

@sambhavnoobcoder unless @tghosth confirms he's working on it, you're more than welcome to take this.

tghosth commented 5 months ago

No I would be delighted for @sambhavnoobcoder to work on this :)

sambhavnoobcoder commented 5 months ago

okay thanks !! I'll start working on this right away .