summaryrefslogtreecommitdiff
path: root/apt-pkg/cdrom.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2019-01-28 18:17:00 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2019-01-28 18:17:00 +0100
commitc8350b2b0b77bacf6a1b42eade20002546baac3a (patch)
tree65dfe07fef6bbfba02a22eae95a35f8a4235d57f /apt-pkg/cdrom.h
parent73e3459689c05cd62f15c29d2faddb0fc215ef5e (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/cdrom.h')
0 files changed, 0 insertions, 0 deletions