summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-keyscan.c
diff options
context:
space:
mode:
authorcloder <cloder@openbsd.org>2003-02-16 15:54:59 +0000
committercloder <cloder@openbsd.org>2003-02-16 15:54:59 +0000
commitaafae713882156178227f4e3827c9367dcf0e13c (patch)
tree5e553ff07249c76a545012ad0ed6ceabdd71a7ec /usr.bin/ssh/ssh-keyscan.c
parentunneeded {} (diff)
downloadwireguard-openbsd-aafae713882156178227f4e3827c9367dcf0e13c.tar.xz
wireguard-openbsd-aafae713882156178227f4e3827c9367dcf0e13c.zip
My last commit uses base64 for the multipart MIME boundary id. Since
the base64 alphabet includes the characters '/', '+', and '=', it may violate section 4 of RFC 1341, which says that these kinds of characters must be quoted in order to be used as a header parameter. Pointed out by Wouter Clarie (rimshot AT pandora DOT be). My solution is not to quote the parameter (I'm afraid that will break simple browsers) but to replace special characters with alphabetic characters so that the resulting string is entirely alphanumeric. We don't want to use hex here, the alphabet is too small. "not too ugly for me" deraadt@, "a bit ugly but good enough" henning@, "that might be better than quoting" wouter
Diffstat (limited to 'usr.bin/ssh/ssh-keyscan.c')
0 files changed, 0 insertions, 0 deletions