From 05532651f81d706de1fab66e8ebe97b9f646b1f9 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 26 Jul 2015 19:38:37 +0100 Subject: Do not quote `:' in shellquote. --- Debian/Dgit.pm | 2 +- debian/changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Debian/Dgit.pm b/Debian/Dgit.pm index 9216dee..a453f35 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 43de16c..089e2a3 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. -- -- cgit v1.2.3