From: Ian Jackson Date: Sun, 26 Jul 2015 18:38:37 +0000 (+0100) Subject: Do not quote `:' in shellquote. X-Git-Tag: debian/1.1~42 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=05532651f81d706de1fab66e8ebe97b9f646b1f9 Do not quote `:' in shellquote. --- diff --git a/Debian/Dgit.pm b/Debian/Dgit.pm index 9216dee8..a453f352 100644 --- a/Debian/Dgit.pm +++ b/Debian/Dgit.pm @@ -96,7 +96,7 @@ sub shellquote { local $_; foreach my $a (@_) { $_ = $a; - if (!length || m{[^-=_./0-9a-z]}i) { + if (!length || m{[^-=_./:0-9a-z]}i) { s{['\\]}{'\\$&'}g; push @out, "'$_'"; } else { diff --git a/debian/changelog b/debian/changelog index 43de16c2..089e2a35 100644 --- a/debian/changelog +++ b/debian/changelog @@ -34,6 +34,7 @@ dgit (1.1~~) unstable; urgency=low * When source package contains things called .git (even files, and even in subdirectories), remove them. Closes:#793671. * Introduce more sophisticated protocol negotiation for rpush. + * Do not quote `:' in shellquote. --