mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 12:14:49 +00:00
move "dot" in regex to avoid it being part of a range
This commit is contained in:
1 parent
b13afc4178
commit
31a1ade1b4
1 file changed
+1
-1
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user