diff options
Diffstat (limited to 'skate/cmd')
-rw-r--r-- | skate/cmd/skate-cleanup/main.go | 2 |
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" } |