Resolves: bug 171353
Bug Description: Unable to download a certificate from Gateway/Phonebook
Reviewed by: nkinder (Thanks!)
Fix Description: The code expects the attribute to be encoded like this - attrname&mimetype&index. However, the code was outputtting the & as literal "&" chars. We need to output them encoded as %26 instead.
With this fix, if I click on the Download Certificate link, and the certificate is a real email certificate (i.e. not a CA cert or a server cert or some other type of cert), Firefox 2 will silently install it under Other People's certificates in the certificate window. An attempt to use any other type of cert will silently fail. NOTE: If you actually want to use this cert in an email program, you should right click on the link and select Save Link As... to save the cert in a local file, then import that into your email program.
Platforms tested: RHEL5 x86_64
Flag Day: no
Doc impact: no