diff --git a/src/util.d b/src/util.d index db5f237f..cd20af0e 100644 --- a/src/util.d +++ b/src/util.d @@ -205,7 +205,7 @@ bool isValidName(string path) // Leading whitespace and trailing whitespace/dot `^\s.*|^.*[\s\.]$|` ~ // Invalid characters - `.*[<>:"\|\?*/\\%].*|` ~ + `.*[<>:"\|\?*/\\].*|` ~ // Reserved device name and trailing .~ `(?:^CON|^PRN|^AUX|^NUL|^COM[0-9]|^LPT[0-9])(?:[.].+)?$` );