summaryrefslogtreecommitdiffstats
path: root/helpers/path.go
diff options
context:
space:
mode:
authorDaniel TISCHER <dos.7182@gmail.com>2015-11-25 23:03:28 +0100
committerSteve Francia <steve.francia@gmail.com>2016-01-01 14:35:58 -0500
commit40fccf2251a7187f002165653d42178e2f53a49b (patch)
tree9c49e21294576d9adb7d393e94690e45928253b9 /helpers/path.go
parentb56362defd8f067a1bab2f5502e851dfd9311ec2 (diff)
Fixes #1292
Diffstat (limited to 'helpers/path.go')
-rw-r--r--helpers/path.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/path.go b/helpers/path.go
index 757cedefb..bab6c71f9 100644
--- a/helpers/path.go
+++ b/helpers/path.go
@@ -96,7 +96,7 @@ func UnicodeSanitize(s string) string {
target := make([]rune, 0, len(source))
for _, r := range source {
- if unicode.IsLetter(r) || unicode.IsDigit(r) || unicode.IsMark(r) || r == '.' || r == '/' || r == '\\' || r == '_' || r == '-' || r == '#' {
+ if unicode.IsLetter(r) || unicode.IsDigit(r) || unicode.IsMark(r) || r == '%' || r == '.' || r == '/' || r == '\\' || r == '_' || r == '-' || r == '#' {
target = append(target, r)
}
}