wwhtrbbtt / TrackMe

https://tls.peet.ws
GNU General Public License v3.0
208 stars 32 forks source link

fixed possible random order in flags output #3

Closed bogdanfinn closed 1 year ago

bogdanfinn commented 1 year ago

This is just related to the output - not the handling of flags and has as far as i can tell no effect on the fingerprinting itself.

I often compare the JSON Result from my browser with my implemented client result and just throw both into a text diff checker tool.

The flags sometimes sorted differently due to the fact that we range over a map and the order there is random: https://go.dev/blog/maps

wwhtrbbtt commented 1 year ago

Looks good! Thanks for the PR