From: German Service Network Date: Sun, 19 Jul 2020 08:35:22 +0000 (+0200) Subject: Merge github 80e2657 (Further fix error handling in raspbmirror.) X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee86426fecb454f0a25ebb22cde78002d38cf4aa;p=raspbmirror.git Merge github 80e2657 (Further fix error handling in raspbmirror.) --- diff --git a/raspbmirror.py b/raspbmirror.py index bbb7fd8..7a29631 100644 --- a/raspbmirror.py +++ b/raspbmirror.py @@ -99,7 +99,7 @@ def ensuresafepath(path): sys.exit(1) for component in pathsplit: if not pfnallowed.fullmatch(component): - logging.info("component "+ascii(component)+" contains unexpected characters") + logging.info("component "+ascii(component)+" in path "+ascii(path)+" contains unexpected characters") sys.exit(1) elif component[0] == '.': logging.info("filenames starting with a dot are not allowed")