diff --git a/common/paths/url.go b/common/paths/url.go index 867f68bafba..1d1408b51e6 100644 --- a/common/paths/url.go +++ b/common/paths/url.go @@ -228,7 +228,7 @@ func UrlFromFilename(filename string) (*url.URL, error) { }, nil } -// UrlToFilename converts the URL s to a filename. +// UrlStringToFilename converts the URL s to a filename. // If ParseRequestURI fails, the input is just converted to OS specific slashes and returned. func UrlStringToFilename(s string) (string, bool) { u, err := url.ParseRequestURI(s)