←back to thread

314 points Bogdanp | 1 comments | | HN request time: 0.313s | source
Show context
timewizard ◴[] No.44380241[source]
I've personally never felt comfortable using regexes to solve production problems. The certificate code referenced here shows why:

https://github.com/mozilla-firefox/firefox/blob/d5979c2a5c2e...

Yikes.

replies(3): >>44380967 #>>44381082 #>>44381215 #
1. ameliaquining ◴[] No.44380967[source]
I think that's not doing anything security-critical, it's just formatting an IPv6 address for display in the certificate-viewer UI.