diff --git a/hugolib/helpers.go b/hugolib/helpers.go index 80f92c875..c814a6289 100644 --- a/hugolib/helpers.go +++ b/hugolib/helpers.go @@ -27,7 +27,7 @@ import ( "time" ) -var sanitizeRegexp = regexp.MustCompile("[^a-zA-Z0-9/_-.]") +var sanitizeRegexp = regexp.MustCompile("[^a-zA-Z0-9./_-]") // TODO: Make these wrappers private // Wrapper around Fprintf taking verbose flag in account.