diff options
author | David Kalnischkies <david@kalnischkies.de> | 2019-01-28 18:17:00 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2019-01-28 18:17:00 +0100 |
commit | c8350b2b0b77bacf6a1b42eade20002546baac3a (patch) | |
tree | 65dfe07fef6bbfba02a22eae95a35f8a4235d57f /apt-pkg/upgrade.h | |
parent | 73e3459689c05cd62f15c29d2faddb0fc215ef5e (diff) |
Explicitly remove the whitespaces defined by RFC
RFC 4880 section 7.1 "Dash-Escaped Text" at the end defines that only
space and tab are allowed, so we should remove only these even if due to
use complaining (or now failing) you can't really make use of it.
Note that strrstrip was removing '\r\n\t ', not other whitespaces like
\v or \f and another big reason to do it explicitly here now is to avoid
that a future change adding those could have unintended consequences.
Diffstat (limited to 'apt-pkg/upgrade.h')
0 files changed, 0 insertions, 0 deletions