Bug#433958: uuenpipe command does not correctly escape spaces
Package: metamail
Version: 2.7-53
Severity: minor
The 'uuenpipe' helper script fails to correctly escape filenames, such
that filenames with spaces (and perhaps other metacharacters) in them
break. As users of graphical user environments, who are largely
unfamiliar with shells, are increasingly using such filenames in
email, I believe this is a case which should not be neglected.
I propose modifying the script as follows:
BASENAME=`basename "${1-UUPIPEOUT}"`
cat "${1--}" | uuencode "$BASENAME"
The uudepipe needs a similar modification to the $1 parameter.
Reply to: