Home GnuPG
Diffusion GnuPG e064c75b08a5

common,tools: Always escape newlines when escaping data.
e064c75b08a5Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

common,tools: Always escape newlines when escaping data.

* common/stringhelp.c (do_percent_escape): Always escape newlines.
* tools/gpgconf-comp.c (gc_percent_escape): Likewise.

Newlines always pose a problem for a line-based communication format.

  • GnuPG-bug-id: T2387
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Mar 1 2017, 5:47 PM
Parents
rG3cdb7920076b: Post release updates.
Branches
Unknown
Tags
Unknown