[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#814326: Warn if filenames contain wildcard characters (*?)



* Chris Lamb <lamby@debian.org>, 2016-08-25, 12:24:
+Tag: file-name-contains-wildcard-character
+Severity: normal
+Certainty: certain

I looked at existing packages in the archive that would trigger this tag[0], and none of their filenames appear to be a result of unexpanded shell wildcard. So "Certainty: certain" seems wrong to me.

+        if ($fname =~ m,[\*\?],) {

You don't need backslashes here (and IMO they hurt readability).


[0] chise-db clanlib-doc coq-theories cppreference-doc-en-html hol88-help w3-recs

--
Jakub Wilk


Reply to: