Bug 1696330 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Steps to reproduce:
1. Open the certificate viewer.
2. Click `PEM (cert)` to download a cert file.
3. Click `PEM (chain)` to download another file.
4. Open downloaded files with a text editor.

Actual result:
Although `PEM (cert)` is wrapped at 64 characters, `PEM (chain)` is not.

Expected result:
`PEM (chain)` should be wrapped just like `PEM (cert)`.

Apparently [`PEM (cert)`](https://searchfox.org/mozilla-central/rev/002023eb262be9db3479142355e1675645d52d52/toolkit/components/certviewer/content/certDecoder.js#539) and [`PEM (chain)`](https://searchfox.org/mozilla-central/rev/002023eb262be9db3479142355e1675645d52d52/toolkit/components/certviewer/content/components/info-item.js#162) are handled different locations:
Steps to reproduce:
1. Open the certificate viewer.
2. Click `PEM (cert)` to download a cert file.
3. Click `PEM (chain)` to download another file.
4. Open downloaded files with a text editor.

Actual result:
Although `PEM (cert)` is wrapped at 64 characters, `PEM (chain)` is not.

Expected result:
`PEM (chain)` should be wrapped just like `PEM (cert)`.

Apparently [`PEM (cert)`](https://searchfox.org/mozilla-central/rev/002023eb262be9db3479142355e1675645d52d52/toolkit/components/certviewer/content/certDecoder.js#539) and [`PEM (chain)`](https://searchfox.org/mozilla-central/rev/002023eb262be9db3479142355e1675645d52d52/toolkit/components/certviewer/content/components/info-item.js#162) are handled at different locations:

Back to Bug 1696330 Comment 0