summaryrefslogtreecommitdiffstats
path: root/hugolib/helpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/helpers.go')
-rw-r--r--hugolib/helpers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/helpers.go b/hugolib/helpers.go
index b2eb39673..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.