[devscripts] 02/02: suspicious-source: whitelist text/xml

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Sep 8 12:47:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository devscripts.

commit 81d94333c9a01185cd23b23fd344c97075a81a9c
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Fri Sep 8 09:47:38 2017 -0300

    suspicious-source: whitelist text/xml
---
 debian/changelog          | 1 +
 scripts/suspicious-source | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 5816b0a..fffc74e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -72,6 +72,7 @@ devscripts (2.17.10) UNRELEASED; urgency=medium
   [ Antonio Terceiro ]
   * suspicious-source:
     - whitelist text/x-ruby
+    - whitelist text/xml
 
  -- Mattia Rizzolo <mattia at debian.org>  Tue, 25 Jul 2017 14:18:24 +0200
 
diff --git a/scripts/suspicious-source b/scripts/suspicious-source
index 484dd7b..c860b10 100755
--- a/scripts/suspicious-source
+++ b/scripts/suspicious-source
@@ -77,6 +77,7 @@ DEFAULT_WHITELISTED_MIMETYPES = [
     "text/x-shellscript",
     "text/x-tex",
     "text/x-texinfo",
+    "text/xml",
 ]
 
 DEFAULT_WHITELISTED_EXTENSIONS = [

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list