janbrasna / ssl-config-generator

Mozilla SSL Configuration Generator
https://ssl-config.mozilla.org/
Mozilla Public License 2.0
3 stars 0 forks source link

URL ?guideline=5.x should render any old config? #27

Open janbrasna opened 10 months ago

janbrasna commented 10 months ago

?guideline version in URL produced by the tool for all links, stays in the generated configs.

yet invoking it seems to always render latest, i. e. permalinks to the generated configs won't persist the content and there's no way to generate configs for older spec revisions

janbrasna commented 9 months ago

easy:

https://github.com/janbrasna/ssl-config-generator/blob/454a2353f0215042d50ec5df574e7fcf2a03a85d/src/js/state.js#L2

so this would need some work to support loading any version, if given spec version json exists… with a compatible sstls object that can be parsed by the current version of config tool… (so maybe limit to v5.x or since the current permalink format introduction?)