aboutsummaryrefslogtreecommitdiff
path: root/pkg/tool/path.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/tool/path.go')
-rw-r--r--pkg/tool/path.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/tool/path.go b/pkg/tool/path.go
index 528db86d..e8f7bcbe 100644
--- a/pkg/tool/path.go
+++ b/pkg/tool/path.go
@@ -19,5 +19,6 @@ func IsSameSiteURLPath(url string) bool {
func SanitizePath(path string) string {
path = strings.TrimLeft(path, "/")
path = strings.Replace(path, "../", "", -1)
+ path = strings.Replace(path, "..\\", "", -1)
return path
}