aboutsummaryrefslogtreecommitdiffstats
path: root/skate/cmd/skate-cleanup
diff options
context:
space:
mode:
Diffstat (limited to 'skate/cmd/skate-cleanup')
-rw-r--r--skate/cmd/skate-cleanup/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/skate/cmd/skate-cleanup/main.go b/skate/cmd/skate-cleanup/main.go
index 969c53c..1965f08 100644
--- a/skate/cmd/skate-cleanup/main.go
+++ b/skate/cmd/skate-cleanup/main.go
@@ -16,6 +16,7 @@ import (
"runtime"
"strings"
+ "git.archive.org/martin/cgraph/skate"
"git.archive.org/martin/cgraph/skate/parallel"
"mvdan.cc/xurls/v2"
)
@@ -68,6 +69,7 @@ func urlFilter(p []byte) ([]byte, error) {
if url == "" && *skipNonMatches {
return nil, nil
}
+ url = skate.SanitizeURL(url)
if len(parts) == 1 || *index == len(parts) {
url = url + "\n"
}